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

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

Issue 1170503003: Remove resource type-specific fetching logic from ResourceFetcher (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Null-check Document::loader() before calling startPreload() Created 5 years, 6 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/loader/TextTrackLoader.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEImageElement.cpp
diff --git a/Source/core/svg/SVGFEImageElement.cpp b/Source/core/svg/SVGFEImageElement.cpp
index c021693919e0db49cc448ba28162288d82cde94f..4678f51882e183bd4a12d07046256a30f83eb039 100644
--- a/Source/core/svg/SVGFEImageElement.cpp
+++ b/Source/core/svg/SVGFEImageElement.cpp
@@ -83,7 +83,7 @@ void SVGFEImageElement::clearResourceReferences()
void SVGFEImageElement::fetchImageResource()
{
FetchRequest request(ResourceRequest(ownerDocument()->completeURL(hrefString())), localName());
- m_cachedImage = document().fetcher()->fetchImage(request);
+ m_cachedImage = ImageResource::fetch(request, document().fetcher());
if (m_cachedImage)
m_cachedImage->addClient(this);
« no previous file with comments | « Source/core/loader/TextTrackLoader.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698