| Index: Source/core/dom/StyleSheetScopingNodeList.cpp
|
| diff --git a/Source/core/dom/StyleSheetScopingNodeList.cpp b/Source/core/dom/StyleSheetScopingNodeList.cpp
|
| index 5d809e0090411cd7c35c8bffe966d71359a636e9..85fbdd44040b2712f515568e973bb9d0e32a0f5b 100644
|
| --- a/Source/core/dom/StyleSheetScopingNodeList.cpp
|
| +++ b/Source/core/dom/StyleSheetScopingNodeList.cpp
|
| @@ -53,7 +53,7 @@ void StyleSheetScopingNodeList::remove(ContainerNode* node)
|
| return;
|
|
|
| // If the node is still working as a scoping node, we cannot remove.
|
| - if (node->inDocument() && node->numberOfScopedHTMLStyleChildren())
|
| + if (node->inDocument() && node->hasScopedHTMLStyleChild())
|
| return;
|
|
|
| m_scopingNodes->remove(node);
|
| @@ -63,5 +63,3 @@ void StyleSheetScopingNodeList::remove(ContainerNode* node)
|
| }
|
|
|
| }
|
| -
|
| -
|
|
|