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

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

Issue 15969015: Reland again "Decode GIF image frames on demand". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing 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;

Powered by Google App Engine
This is Rietveld 408576698