Index: sdk/lib/html/scripts/htmlrenamer.py |
diff --git a/sdk/lib/html/scripts/htmlrenamer.py b/sdk/lib/html/scripts/htmlrenamer.py |
index 2c676ff602d413327dfed2d6688ae3ea8ae09122..169edd46826f247a8f5fff452ed39ae5481e8739 100644 |
--- a/sdk/lib/html/scripts/htmlrenamer.py |
+++ b/sdk/lib/html/scripts/htmlrenamer.py |
@@ -253,7 +253,7 @@ _removed_html_members = set([ |
"Document.version", |
"Document.manifest", |
"HTMLIsIndexElement.*", |
- "HTMLMenuElement.compact", |
+ "MenuElement.compact", |
"HTMLOptionsCollection.*", |
"HTMLPropertiesCollection.*", |
"SelectElement.remove", |
@@ -342,7 +342,7 @@ class HtmlRenamer(object): |
def _FindMatch(self, interface, member, member_prefix, candidates): |
for interface in self._database.Hierarchy(interface): |
- html_interface_name = self.DartifyTypeName(interface.id) |
+ html_interface_name = self.RenameInterface(interface) |
member_name = html_interface_name + '.' + member |
if member_name in candidates: |
return member_name |