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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h

Issue 2376033005: Move GIF decoder's aggressive purge into ImageDecoder (Closed)
Patch Set: Checking more overflow. Created 4 years, 2 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/image-decoders/gif/GIFImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h
index d5f8b57c213b0bab6674bc6df0b2afdb46ec1d11..a2c6ce1185ce92dc4a858cae8080da6177d3bc3c 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h
@@ -84,10 +84,7 @@ private:
// Like clearCacheExceptFrame(), but preserves two frames instead of one.
size_t clearCacheExceptTwoFrames(size_t, size_t);
- void updateAggressivePurging(size_t index);
-
bool m_currentBufferSawAlpha;
- bool m_purgeAggressively;
mutable int m_repetitionCount;
std::unique_ptr<GIFImageReader> m_reader;
};

Powered by Google App Engine
This is Rietveld 408576698