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

Unified Diff: third_party/WebKit/Source/core/loader/resource/ImageResource.h

Issue 2797993007: Show image placeholders on dimension decode error (Closed)
Patch Set: Created 3 years, 8 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/resource/ImageResource.h
diff --git a/third_party/WebKit/Source/core/loader/resource/ImageResource.h b/third_party/WebKit/Source/core/loader/resource/ImageResource.h
index 53082f99cfdd6f0c3e562593b718d7b49fc8d2c2..1b8cbea47c25e672fb77c960800c3e26627388a2 100644
--- a/third_party/WebKit/Source/core/loader/resource/ImageResource.h
+++ b/third_party/WebKit/Source/core/loader/resource/ImageResource.h
@@ -160,6 +160,9 @@ class CORE_EXPORT ImageResource final
// Do not show or reload placeholder.
DoNotReloadPlaceholder,
+ // Show placeholder, and do not reload.
sclittle 2017/04/06 21:58:06 nit: could you clarify in the comment here that th
+ ShowAndDoNotReloadPlaceholder,
+
// Do not show placeholder, reload only when decode error occurs.
ReloadPlaceholderOnDecodeError,

Powered by Google App Engine
This is Rietveld 408576698