Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 906b418a2f646e51e05ecf10f07225b3739172a6..4fa407316450db55b39f0dcd6cfb2f39883ca9d4 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -2289,7 +2289,7 @@ PassRefPtrWillBeRawPtr<StaticNodeList> Node::getDestinationInsertionPoints() |
for (size_t i = 0; i < insertionPoints.size(); ++i) { |
InsertionPoint* insertionPoint = insertionPoints[i]; |
ASSERT(insertionPoint->containingShadowRoot()); |
- if (insertionPoint->containingShadowRoot()->type() != ShadowRoot::UserAgentShadowRoot) |
+ if (insertionPoint->containingShadowRoot()->type() != ShadowRoot::ClosedShadowRoot) |
filteredInsertionPoints.append(insertionPoint); |
} |
return StaticNodeList::adopt(filteredInsertionPoints); |