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

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

Issue 2918443003: Remove redundant reading and writing of data about SharedBuffer.
Patch Set: benchmark Created 3 years, 6 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 a6a9eac234b7f03a355372a65ebf970f7ecd7fc9..d6ce35c205ad15459947ef1e0ce952f8311f6d23 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
@@ -72,7 +72,6 @@ class PLATFORM_EXPORT ImageSource final {
// Returns the number of bytes of frame data actually cleared.
size_t ClearCacheExceptFrame(size_t);
- PassRefPtr<SharedBuffer> Data();
// Returns false when the decoder layer rejects the data.
bool SetData(RefPtr<SharedBuffer> data, bool all_data_received);
String FilenameExtension() const;

Powered by Google App Engine
This is Rietveld 408576698