RESOLVED FIXED 136844
Rename LiveNodeLists / HTMLCollections's nodeMatches() to elementMatches()
https://bugs.webkit.org/show_bug.cgi?id=136844
Summary Rename LiveNodeLists / HTMLCollections's nodeMatches() to elementMatches()
Chris Dumez
Reported 2014-09-15 16:53:27 PDT
Rename LiveNodeLists / HTMLCollections's nodeMatches() to elementMatches() for clarity as the argument is an Element.
Attachments
Patch (21.39 KB, patch)
2014-09-15 16:55 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2014-09-15 16:55:13 PDT
WebKit Commit Bot
Comment 2 2014-09-15 22:36:50 PDT
Comment on attachment 238148 [details] Patch Clearing flags on attachment: 238148 Committed r173649: <http://trac.webkit.org/changeset/173649>
WebKit Commit Bot
Comment 3 2014-09-15 22:36:54 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 4 2014-09-17 17:23:08 PDT
Comment on attachment 238148 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238148&action=review > Source/WebCore/dom/ClassNodeList.h:49 > + virtual bool elementMatches(Element*) const override; Since we are touching every single call site, it really seems we’d want to change this to Element&. Too late!
Chris Dumez
Comment 5 2014-09-17 17:42:24 PDT
Comment on attachment 238148 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238148&action=review >> Source/WebCore/dom/ClassNodeList.h:49 >> + virtual bool elementMatches(Element*) const override; > > Since we are touching every single call site, it really seems we’d want to change this to Element&. Too late! Right, sorry about that. I'll follow-up on this.
Note You need to log in before you can comment on or make changes to this bug.