Index: Source/core/dom/StyleSheetScopingNodeList.cpp |
diff --git a/Source/core/dom/StyleSheetScopingNodeList.cpp b/Source/core/dom/StyleSheetScopingNodeList.cpp |
index 5d809e0090411cd7c35c8bffe966d71359a636e9..c633957f41dd35b8de895d959d13539c69cd0ce6 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()) |
return; |
m_scopingNodes->remove(node); |
@@ -63,5 +63,3 @@ void StyleSheetScopingNodeList::remove(ContainerNode* node) |
} |
} |
- |
- |