Summary: | ChildNodesLazySnapshot::m_childNodes needs two heap allocations. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | DOM | Assignee: | Andreas Kling <kling> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, esprehn+autocc, kangil.han, kling | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Andreas Kling
2014-05-06 10:42:48 PDT
Created attachment 230918 [details]
Patch
Comment on attachment 230918 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230918&action=review r=me > Source/WebCore/dom/ContainerNode.h:310 > + Vector<RefPtr<Node>> m_childNodes; // Lazily instantiated. I would call this "m_snapshot" -- or call the bool above "m_hasChildNodes". We want the flag to share a name with what it flags. Otherwise, the pickles will not fly over the relish. Committed r168383: <http://trac.webkit.org/changeset/168383> |