Index: Source/core/svg/SVGUseElement.cpp |
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp |
index 6cafda904b49898c0d40220b68128055c903ea5f..0d6c6795a29a669a36f3f555e12f04ac80b106f8 100644 |
--- a/Source/core/svg/SVGUseElement.cpp |
+++ b/Source/core/svg/SVGUseElement.cpp |
@@ -199,7 +199,7 @@ void SVGUseElement::svgAttributeChanged(const QualifiedName& attrName) |
if (isExternalReference) { |
KURL url = document().completeURL(hrefString()); |
if (url.hasFragmentIdentifier()) { |
- FetchRequest request(ResourceRequest(url.string()), localName()); |
+ FetchRequest request(ResourceRequest(url), localName()); |
setDocumentResource(document().fetcher()->fetchSVGDocument(request)); |
} |
} else { |