Index: Source/core/dom/shadow/ShadowRoot.cpp |
diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp |
index 0fe161b301a82137310bfbe2414ea2263056c5b9..e6e7daf9a7e993eb2d4644eba9ec5053cf088cbb 100644 |
--- a/Source/core/dom/shadow/ShadowRoot.cpp |
+++ b/Source/core/dom/shadow/ShadowRoot.cpp |
@@ -401,7 +401,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)); |
} |