Index: client/dom/scripts/systemhtml.py |
diff --git a/client/dom/scripts/systemhtml.py b/client/dom/scripts/systemhtml.py |
index f29c5c7b1fd3927404c7f1ba41916f20cf4903a3..254e9a442e2086a16df21060dff5ebbcf08fdac7 100644 |
--- a/client/dom/scripts/systemhtml.py |
+++ b/client/dom/scripts/systemhtml.py |
@@ -1360,10 +1360,11 @@ class HtmlDartiumInterfaceGenerator(object): |
return method_name |
def AddAttribute(self, getter, setter): |
+ dom_name = DartDomNameOfAttribute(getter or setter) |
html_getter_name = self._shared.RenameInHtmlLibrary( |
- self._interface, getter.id, 'get:') |
+ self._interface, dom_name, 'get:') |
html_setter_name = self._shared.RenameInHtmlLibrary( |
- self._interface, getter.id, 'set:') |
+ self._interface, dom_name, 'set:') |
if getter and html_getter_name: |
self._AddGetter(getter, html_getter_name) |