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

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

Issue 2638383008: Temporarily introduce ImageResourceInfo::setIsPlaceholder() (Closed)
Patch Set: Rebase Created 3 years, 10 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/loader/resource/ImageResourceContent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/resource/ImageResource.cpp
diff --git a/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp b/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp
index 1f646e29c5b69c406bc533ef6e73bdc8778b942f..468011deb7ae629f2f155048b3d4854167c1ed1d 100644
--- a/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp
+++ b/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp
@@ -102,6 +102,9 @@ class ImageResource::ImageResourceInfoImpl final
void decodeError(bool allDataReceived) override {
m_resource->decodeError(allDataReceived);
}
+ void setIsPlaceholder(bool isPlaceholder) override {
+ m_resource->m_isPlaceholder = isPlaceholder;
+ }
void setDecodedSize(size_t size) override {
m_resource->setDecodedSize(size);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698