Index: Source/core/svg/SVGElement.cpp |
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp |
index 2f4fe2c5bde1464e0c6ea6b5ac7b3d43760ffbe9..9d508997aac9fed95dda9810c76b49a70b7c8584 100644 |
--- a/Source/core/svg/SVGElement.cpp |
+++ b/Source/core/svg/SVGElement.cpp |
@@ -264,7 +264,7 @@ String SVGElement::title() const |
// If we aren't an instance in a <use> or the <use> title was not found, then find the first |
// <title> child of this element. |
Element* titleElement = ElementTraversal::firstWithin(this); |
- for (; titleElement; titleElement = ElementTraversal::nextSkippingChildren(titleElement, this)) { |
+ for (; titleElement; titleElement = ElementTraversal::nextSkippingChildren(*titleElement, this)) { |
if (titleElement->hasTagName(SVGNames::titleTag) && titleElement->isSVGElement()) |
break; |
} |