Index: Source/core/svg/SVGMPathElement.cpp |
diff --git a/Source/core/svg/SVGMPathElement.cpp b/Source/core/svg/SVGMPathElement.cpp |
index 7f105314de0b63e1d196c7af53fd0fa6d20183b5..1215228eeb730bf2f9aa209f5e3c99078dd2811b 100644 |
--- a/Source/core/svg/SVGMPathElement.cpp |
+++ b/Source/core/svg/SVGMPathElement.cpp |
@@ -64,7 +64,7 @@ void SVGMPathElement::buildPendingResource() |
return; |
String id; |
- Element* target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), &document(), &id); |
+ Element* target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id); |
if (!target) { |
// Do not register as pending if we are already pending this resource. |
if (document().accessSVGExtensions()->isElementPendingResource(this, id)) |
@@ -151,7 +151,7 @@ void SVGMPathElement::svgAttributeChanged(const QualifiedName& attrName) |
SVGPathElement* SVGMPathElement::pathElement() |
{ |
- Element* target = targetElementFromIRIString(hrefCurrentValue(), &document()); |
+ Element* target = targetElementFromIRIString(hrefCurrentValue(), document()); |
if (target && target->hasTagName(SVGNames::pathTag)) |
return toSVGPathElement(target); |
return 0; |