[Webkit-unassigned] [Bug 106963] Move TreeScope pointer to ContainerNode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 15 18:00:24 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106963





--- Comment #7 from Elliott Sprehn <esprehn at chromium.org>  2013-01-15 18:02:06 PST ---
(In reply to comment #0)
> We can make non-ContainerNodes (Text mostly) smaller by moving the tree scope pointer from Node to ContainerNode. Non-containers can get it from the parent (and they don't need it much anyway).

Note also that "they don't need it much anyway" is not really true since document() goes through m_treeScope and CharacterData.cpp uses document() a bunch; Text.cpp also uses it in the critical path for recalcTextStyle and RenderText.cpp also uses document() in a bunch of performance sensitive places.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list