Chromium Code Reviews

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

Issue 2054643003: Remove duplication of encoded image data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DCHECK Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
index 3db9411945014f97371cdcf03a006332439f4c30..1d292028ee65f86950ffffe6bef4708a155858bd 100644
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h
@@ -57,6 +57,7 @@ public:
PassRefPtr<SkImage> createFrameAtIndex(size_t);
+ PassRefPtr<SharedBuffer> data();
void setData(SharedBuffer& data, bool allDataReceived);
bool isSizeAvailable();

Powered by Google App Engine