[Webkit-unassigned] [Bug 50971] Combine setShadowRoot and clearShadowRoot into a simpler API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 15 15:22:47 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=50971
--- Comment #5 from Eric Seidel <eric at webkit.org> 2010-12-15 15:22:48 PST ---
(From update of attachment 76548)
View in context: https://bugs.webkit.org/attachment.cgi?id=76548&action=review
> WebCore/dom/Element.cpp:1093
> + if (RefPtr<Node> oldRoot = rareData()->m_shadowRoot.release()) {
> + document()->removeFocusedNodeOfSubtree(oldRoot.get());
> + oldRoot->setShadowHost(0);
> + if (oldRoot->inDocument())
> + oldRoot->removedFromDocument();
> + else
> + oldRoot->removedFromTree(true);
This feels like a helper method.
--
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