| Index: sky/engine/core/dom/shadow/ShadowRoot.cpp
|
| diff --git a/sky/engine/core/dom/shadow/ShadowRoot.cpp b/sky/engine/core/dom/shadow/ShadowRoot.cpp
|
| index 1e6eb95c1871dd38dd7eba1119dadfb905e3ee03..df5ee773e4e3179976299c6ddf6a5c3e26208249 100644
|
| --- a/sky/engine/core/dom/shadow/ShadowRoot.cpp
|
| +++ b/sky/engine/core/dom/shadow/ShadowRoot.cpp
|
| @@ -126,25 +126,23 @@ void ShadowRoot::recalcStyle(StyleRecalcChange change)
|
| clearChildNeedsStyleRecalc();
|
| }
|
|
|
| -Node::InsertionNotificationRequest ShadowRoot::insertedInto(ContainerNode* insertionPoint)
|
| +void ShadowRoot::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| DocumentFragment::insertedInto(insertionPoint);
|
|
|
| if (!insertionPoint->inDocument() || !isOldest())
|
| - return InsertionDone;
|
| + return;
|
|
|
| // FIXME: When parsing <video controls>, insertedInto() is called many times without invoking removedFrom.
|
| // For now, we check m_registeredWithParentShadowroot. We would like to ASSERT(!m_registeredShadowRoot) here.
|
| // https://bugs.webkit.org/show_bug.cig?id=101316
|
| if (m_registeredWithParentShadowRoot)
|
| - return InsertionDone;
|
| + return;
|
|
|
| if (ShadowRoot* root = host()->containingShadowRoot()) {
|
| root->addChildShadowRoot();
|
| m_registeredWithParentShadowRoot = true;
|
| }
|
| -
|
| - return InsertionDone;
|
| }
|
|
|
| void ShadowRoot::removedFrom(ContainerNode* insertionPoint)
|
|
|