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

Unified Diff: Source/core/platform/graphics/chromium/DeferredImageDecoder.h

Issue 15350006: Decode GIF image frames on demand. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 7 years, 7 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: Source/core/platform/graphics/chromium/DeferredImageDecoder.h
diff --git a/Source/core/platform/graphics/chromium/DeferredImageDecoder.h b/Source/core/platform/graphics/chromium/DeferredImageDecoder.h
index 943a973fb4fc0f7f34f847284af270cd65bae379..4183ee32710a230bf14f92ca9ebba1348b78a0d3 100644
--- a/Source/core/platform/graphics/chromium/DeferredImageDecoder.h
+++ b/Source/core/platform/graphics/chromium/DeferredImageDecoder.h
@@ -61,7 +61,7 @@ public:
IntSize frameSizeAtIndex(size_t index) const;
size_t frameCount();
int repetitionCount() const;
- void clearFrameBufferCache(size_t);
+ size_t clearCacheExceptFrame(size_t);
bool frameHasAlphaAtIndex(size_t index) const;
bool frameIsCompleteAtIndex(size_t) const;
float frameDurationAtIndex(size_t) const;
« no previous file with comments | « Source/core/platform/graphics/ImageSource.cpp ('k') | Source/core/platform/graphics/chromium/DeferredImageDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698