| Index: client/dom/scripts/systemwrapping.py
|
| diff --git a/client/dom/scripts/systemwrapping.py b/client/dom/scripts/systemwrapping.py
|
| index 3f112007c9a8baa248f105fb497abc9b9ef23a61..80f0df1b8682efb22328fa64d49ae3b0dbf6e2de 100644
|
| --- a/client/dom/scripts/systemwrapping.py
|
| +++ b/client/dom/scripts/systemwrapping.py
|
| @@ -171,7 +171,9 @@ class WrappingInterfaceGenerator(object):
|
| '\n'
|
| ' $TYPE get $NAME() { return $METHOD(this); }\n'
|
| ' static $TYPE $METHOD(var _this) native;\n',
|
| - NAME=attr.id, TYPE=DartType(attr.type.id), METHOD=method_name)
|
| + NAME=DartDomNameOfAttribute(attr),
|
| + TYPE=DartType(attr.type.id),
|
| + METHOD=method_name)
|
|
|
| def _AddSetter(self, attr):
|
| # FIXME: See comment on getter.
|
| @@ -180,7 +182,9 @@ class WrappingInterfaceGenerator(object):
|
| '\n'
|
| ' void set $NAME($TYPE value) { $METHOD(this, value); }\n'
|
| ' static void $METHOD(var _this, $TYPE value) native;\n',
|
| - NAME=attr.id, TYPE=DartType(attr.type.id), METHOD=method_name)
|
| + NAME=DartDomNameOfAttribute(attr),
|
| + TYPE=DartType(attr.type.id),
|
| + METHOD=method_name)
|
|
|
| def AddSecondaryAttribute(self, interface, getter, setter):
|
| self._SecondaryContext(interface)
|
|
|