Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1250)

Unified Diff: Source/core/svg/SVGUseElement.cpp

Issue 14672042: Prepare to add more initiator info to CachedResource(Request) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGFontFaceUriElement.cpp ('k') | Source/core/xml/XSLImportRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUseElement.cpp
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp
index df045e5700a68e0e8d9589c830afe43f97c86593..13008a5b2dd54de8de8ef72542231cb0aced23ad 100644
--- a/Source/core/svg/SVGUseElement.cpp
+++ b/Source/core/svg/SVGUseElement.cpp
@@ -250,8 +250,7 @@ void SVGUseElement::svgAttributeChanged(const QualifiedName& attrName)
if (isExternalReference) {
KURL url = document()->completeURL(href());
if (url.hasFragmentIdentifier()) {
- CachedResourceRequest request(ResourceRequest(url.string()));
- request.setInitiator(this);
+ CachedResourceRequest request(ResourceRequest(url.string()), localName());
setCachedDocument(document()->cachedResourceLoader()->requestSVGDocument(request));
}
} else
« no previous file with comments | « Source/core/svg/SVGFontFaceUriElement.cpp ('k') | Source/core/xml/XSLImportRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698