Index: Source/core/svg/SVGTRefElement.cpp |
diff --git a/Source/core/svg/SVGTRefElement.cpp b/Source/core/svg/SVGTRefElement.cpp |
index a5fffcee7ce5b91affcbd726c8adc67e7128d2c8..1244e9ecb4178c2e9489e4a5d05106558986d914 100644 |
--- a/Source/core/svg/SVGTRefElement.cpp |
+++ b/Source/core/svg/SVGTRefElement.cpp |
@@ -167,9 +167,9 @@ void SVGTRefElement::detachTarget() |
// Mark the referenced ID as pending. |
String id; |
- SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id); |
+ SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), &document(), &id); |
if (!id.isEmpty()) |
- document()->accessSVGExtensions()->addPendingResource(id, this); |
+ document().accessSVGExtensions()->addPendingResource(id, this); |
} |
bool SVGTRefElement::isSupportedAttribute(const QualifiedName& attrName) |
@@ -247,12 +247,12 @@ void SVGTRefElement::buildPendingResource() |
return; |
String id; |
- RefPtr<Element> target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id); |
+ RefPtr<Element> target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), &document(), &id); |
if (!target.get()) { |
if (id.isEmpty()) |
return; |
- document()->accessSVGExtensions()->addPendingResource(id, this); |
+ document().accessSVGExtensions()->addPendingResource(id, this); |
ASSERT(hasPendingResources()); |
return; |
} |