[Webkit-unassigned] [Bug 52788] Any class other than Element should not use setShadowHost()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 3 09:31:46 PDT 2011


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


Antti Koivisto <koivisto at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |koivisto at iki.fi




--- Comment #17 from Antti Koivisto <koivisto at iki.fi>  2011-10-03 09:31:45 PST ---
This added virtual function call (isSVGShadowRoot()) to Node::parentNode():

 inline ContainerNode* Node::parentNode() const
 {
-    return getFlag(IsShadowRootFlag) ? 0 : parent();
+    return getFlag(IsShadowRootFlag) || isSVGShadowRoot() ? 0 : parent();
 }

This is not acceptable from performance perspective. I noticed the regression from samples.

-- 
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