Index: sdk/lib/html/scripts/htmlrenamer.py |
diff --git a/sdk/lib/html/scripts/htmlrenamer.py b/sdk/lib/html/scripts/htmlrenamer.py |
index df133c0abf0834d425c109dffb52323e68ed3b59..2232c7f6c283751e91e32fffab7c470b9b2989be 100644 |
--- a/sdk/lib/html/scripts/htmlrenamer.py |
+++ b/sdk/lib/html/scripts/htmlrenamer.py |
@@ -139,7 +139,7 @@ _private_html_members = set([ |
_renamed_html_members = { |
'Document.createCDATASection': 'createCDataSection', |
'Document.defaultView': 'window', |
- 'Element.webkitMatchesSelector' : 'matchesSelector', |
+ 'Element.webkitMatchesSelector' : 'matches', # Latest spec uses matches. |
'Element.scrollIntoViewIfNeeded': 'scrollIntoView', |
'Node.cloneNode': 'clone', |
'Node.nextSibling': 'nextNode', |