Index: third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGURIReference.cpp b/third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
index 3606053b47217abd58d79ab7933ae173741197a5..2e300619cc80847c2f03a801f3e8060a0ce0a0f5 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
@@ -118,8 +118,14 @@ Element* SVGURIReference::targetElementFromIRIString( |
Element* SVGURIReference::observeTarget(Member<IdTargetObserver>& observer, |
SVGElement& contextElement) { |
+ return observeTarget(observer, contextElement, hrefString()); |
+} |
+ |
+Element* SVGURIReference::observeTarget(Member<IdTargetObserver>& observer, |
+ SVGElement& contextElement, |
+ const String& hrefString) { |
TreeScope& treeScope = contextElement.treeScope(); |
- AtomicString id = fragmentIdentifierFromIRIString(hrefString(), treeScope); |
+ AtomicString id = fragmentIdentifierFromIRIString(hrefString, treeScope); |
return observeTarget(observer, treeScope, id, |
WTF::bind(&SVGElement::buildPendingResource, |
wrapWeakPersistent(&contextElement))); |