Index: Source/core/dom/StyleSheetScopingNodeList.cpp |
diff --git a/Source/core/dom/StyleSheetScopingNodeList.cpp b/Source/core/dom/StyleSheetScopingNodeList.cpp |
index 5d809e0090411cd7c35c8bffe966d71359a636e9..88dc84a428d9d958f2c5334a188b7ff95ea7ab36 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); |