| Index: sky/engine/core/html/HTMLStyleElement.cpp
|
| diff --git a/sky/engine/core/html/HTMLStyleElement.cpp b/sky/engine/core/html/HTMLStyleElement.cpp
|
| index 6942b9ee5968b8b889743e718251f6f77347503a..8631cffcda532397b8e45434ebb9439b41d743f7 100644
|
| --- a/sky/engine/core/html/HTMLStyleElement.cpp
|
| +++ b/sky/engine/core/html/HTMLStyleElement.cpp
|
| @@ -73,9 +73,6 @@ void HTMLStyleElement::insertedInto(ContainerNode* insertionPoint)
|
| return;
|
|
|
| processStyleSheet();
|
| -
|
| - if (ShadowRoot* scope = containingShadowRoot())
|
| - scope->registerScopedHTMLStyleChild();
|
| }
|
|
|
| void HTMLStyleElement::removedFrom(ContainerNode* insertionPoint)
|
| @@ -89,9 +86,6 @@ void HTMLStyleElement::removedFrom(ContainerNode* insertionPoint)
|
| if (!scopingNode)
|
| scopingNode = insertionPoint->containingShadowRoot();
|
|
|
| - if (scopingNode)
|
| - scopingNode->unregisterScopedHTMLStyleChild();
|
| -
|
| TreeScope* containingScope = containingShadowRoot();
|
| TreeScope& scope = containingScope ? *containingScope : insertionPoint->treeScope();
|
|
|
|
|