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

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

Issue 2054643003: Remove duplication of encoded image data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a comment Created 4 years, 5 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/ImageSource.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h
index 5e8ded4798ce85ea8cb49a28410af12b6157069d..9dc14d660953d851555b90fce920f8a2801d067e 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
@@ -69,6 +69,8 @@ public:
// Returns the number of bytes of frame data actually cleared.
size_t clearCacheExceptFrame(size_t);
+ bool hasData() const;
+ PassRefPtr<SharedBuffer> data();
haraken 2016/07/13 02:18:30 Who uses these methods?
hajimehoshi 2016/07/13 07:36:22 data() is used by BitmapImage. hasData() is not u
void setData(SharedBuffer& data, bool allDataReceived);
String filenameExtension() const;

Powered by Google App Engine
This is Rietveld 408576698