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

Unified Diff: third_party/WebKit/Source/platform/graphics/Image.h

Issue 2202473002: DO NOT COMMIT: Experimental removal of encoded image data Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (rebase) Created 4 years, 3 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/platform/graphics/Image.h
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h
index cdc04cb46b58d1644f45a93b955509da27195dc9..9cb1e4388c1230f008b8f80f87111f277655234d 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.h
+++ b/third_party/WebKit/Source/platform/graphics/Image.h
@@ -113,6 +113,7 @@ public:
virtual void destroyDecodedData() = 0;
+ virtual bool clear() { return false; }
virtual PassRefPtr<SharedBuffer> data() { return m_encodedImageData; }
// Animation begins whenever someone draws the image, so startAnimation() is not normally called.

Powered by Google App Engine
This is Rietveld 408576698