Index: Source/core/rendering/svg/RenderSVGTextPath.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGTextPath.cpp b/Source/core/rendering/svg/RenderSVGTextPath.cpp |
index f2068b80ac5453eaf11eac0a92338069850a7c1d..f53d5b2b921a1c3303413f290e3d98d2190782db 100644 |
--- a/Source/core/rendering/svg/RenderSVGTextPath.cpp |
+++ b/Source/core/rendering/svg/RenderSVGTextPath.cpp |
@@ -36,7 +36,7 @@ RenderSVGTextPath::RenderSVGTextPath(Element* element) |
Path RenderSVGTextPath::layoutPath() const |
{ |
SVGTextPathElement* textPathElement = toSVGTextPathElement(node()); |
- Element* targetElement = SVGURIReference::targetElementFromIRIString(textPathElement->hrefCurrentValue(), textPathElement->document()); |
+ Element* targetElement = SVGURIReference::targetElementFromIRIString(textPathElement->hrefCurrentValue(), &textPathElement->document()); |
if (!targetElement || !targetElement->hasTagName(SVGNames::pathTag)) |
return Path(); |