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

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResource.cpp

Issue 1757083002: [SVG 1/4] Move Resource::finish() for data URLs from requestResource() to Resource::load() Base URL: https://chromium.googlesource.com/chromium/src.git@SVG_new0b
Patch Set: auto-Rebase Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/core/fetch/Resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/ImageResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.cpp b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
index 99a43439911e7876704f3f39205cd5290f707912..00ddbc7182fa7b7a213b0c8d28c10eab312ec0dc 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
@@ -105,7 +105,8 @@ DEFINE_TRACE(ImageResource)
void ImageResource::load(ResourceFetcher* fetcher, const ResourceLoaderOptions& options)
{
- if (!fetcher || fetcher->autoLoadImages())
+ fprintf(stderr, "[%s]\n", url().string().utf8().data());
+ if (!fetcher || fetcher->autoLoadImages() || url().protocolIsData())
Resource::load(fetcher, options);
else
setLoading(false);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/Resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698