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

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: Fixed more devtools reliance on sync loading Created 3 years, 12 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
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 dc36dc0e8218cd1947d46a273c03c62e4e3aed07..faf0df8cecf524f6fb2f3a299f162a12222d356e 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