Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: client/dom/scripts/systemhtml.py

Issue 9705050: htmldartium should also use DartDomNameOfAttribute (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add release Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | client/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | client/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698