| Summary: | Drop NodeListBase class | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
| Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, darin, koivisto, rniwa | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=147980 | ||||||
| Attachments: |
|
||||||
|
Description
Chris Dumez
2015-08-20 22:02:03 PDT
Created attachment 259584 [details]
Patch
Comment on attachment 259584 [details]
Patch
Funny, I've done exactly this in the past until Antti refactored it.
Comment on attachment 259584 [details] Patch Clearing flags on attachment: 259584 Committed r188753: <http://trac.webkit.org/changeset/188753> All reviewed patches have been landed. Closing bug. Comment on attachment 259584 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259584&action=review > Source/WebCore/html/HTMLCollection.h:62 > -class HTMLCollection : public NodeListBase, public ScriptWrappable { > +// HTMLCollection subclasses NodeList to maintain legacy ObjC API compatibility. > +class HTMLCollection : public NodeList { It is somewhat confusing that HTMLCollection is now a subclass of NodeList in C++ but not in IDL. The pure virtual base might have been a better way to deal with the the legacy issue mentioned in the comment. NodeListBase was a bad name though, something like LegacyObjCAPICollection would have been more informative. |