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

Unified Diff: third_party/WebKit/Source/core/loader/ImageLoader.cpp

Issue 2592113003: Load data URI images in an async way according to spec (take 3) (Closed)
Patch Set: Fix browser test Created 4 years 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
Index: third_party/WebKit/Source/core/loader/ImageLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
index 3542eea78c46aa0ad824ff96c0b55acef30f2e6d..d6800f19c5fc96c9038e1b20fab9dd4469f23c70 100644
--- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
@@ -466,8 +466,7 @@ bool ImageLoader::shouldLoadImmediately(const KURL& url) const {
if (resource && !resource->errorOccurred())
return true;
}
- return (isHTMLObjectElement(m_element) || isHTMLEmbedElement(m_element) ||
- url.protocolIsData());
+ return (isHTMLObjectElement(m_element) || isHTMLEmbedElement(m_element));
}
void ImageLoader::imageNotifyFinished(ImageResourceContent* resource) {

Powered by Google App Engine
This is Rietveld 408576698