Handle createShadowSubtree inside of ensureUserAgentShadowRoot
Created attachment 185065 [details] Patch
Comment on attachment 185065 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=185065&action=review Lovely. > Source/WebCore/dom/Element.cpp:1495 > + ShadowRoot* shadowRoot = ShadowRoot::create(this, ShadowRoot::UserAgentShadowRoot, ASSERT_NO_EXCEPTION).get(); Ugh, we should totally get rid of this nasty factory. It just looks bad, handing off a PassRefPtr to immediately get it unwrapped.
Comment on attachment 185065 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=185065&action=review >> Source/WebCore/dom/Element.cpp:1495 >> + ShadowRoot* shadowRoot = ShadowRoot::create(this, ShadowRoot::UserAgentShadowRoot, ASSERT_NO_EXCEPTION).get(); > > Ugh, we should totally get rid of this nasty factory. It just looks bad, handing off a PassRefPtr to immediately get it unwrapped. Yeah, I have a whole series of patches to clean this up.
Created attachment 185137 [details] Patch for landing
Comment on attachment 185137 [details] Patch for landing Clearing flags on attachment: 185137 Committed r141066: <http://trac.webkit.org/changeset/141066>
All reviewed patches have been landed. Closing bug.