Index: Source/core/rendering/svg/RenderSVGResourceClipper.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourceClipper.cpp b/Source/core/rendering/svg/RenderSVGResourceClipper.cpp |
index c0a6d0bb178bf2757cf2a4db3fcf990c2ee799f8..2f92188a50881e6314d4238c1f0a1829d1244b50 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceClipper.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourceClipper.cpp |
@@ -91,7 +91,7 @@ bool RenderSVGResourceClipper::tryPathOnlyClipping(GraphicsContext* context, |
WindRule clipRule = RULE_NONZERO; |
Path clipPath = Path(); |
- for (Element* childElement = ElementTraversal::firstWithin(*element()); childElement; childElement = ElementTraversal::nextSibling(*childElement)) { |
+ for (Element* childElement = ElementTraversal::firstChild(*element()); childElement; childElement = ElementTraversal::nextSibling(*childElement)) { |
RenderObject* renderer = childElement->renderer(); |
if (!renderer) |
continue; |