Index: Source/core/dom/shadow/ShadowRoot.cpp |
diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp |
index b254f51726519fb51b1e16afd3d83225acd23d04..caef3dbea81f7ec69c4f76cb90b4f0b16baabc33 100644 |
--- a/Source/core/dom/shadow/ShadowRoot.cpp |
+++ b/Source/core/dom/shadow/ShadowRoot.cpp |
@@ -397,7 +397,7 @@ const Vector<RefPtr<InsertionPoint> >& ShadowRoot::descendantInsertionPoints() |
return emptyList; |
Vector<RefPtr<InsertionPoint> > insertionPoints; |
- for (Element* element = ElementTraversal::firstWithin(this); element; element = ElementTraversal::next(*element, this)) { |
+ for (Element* element = ElementTraversal::firstWithin(*this); element; element = ElementTraversal::next(*element, this)) { |
if (element->isInsertionPoint()) |
insertionPoints.append(toInsertionPoint(element)); |
} |