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

Unified Diff: Source/platform/graphics/ImageFrameGenerator.h

Issue 485833005: Image decoding: Remove deprecated image caching code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/platform/graphics/ImageFrameGenerator.h
diff --git a/Source/platform/graphics/ImageFrameGenerator.h b/Source/platform/graphics/ImageFrameGenerator.h
index 92054593eb44eba4d102f49ea1705e6e78e7481a..13ecc0db0820d503881d33e5c746a6f56286103f 100644
--- a/Source/platform/graphics/ImageFrameGenerator.h
+++ b/Source/platform/graphics/ImageFrameGenerator.h
@@ -96,17 +96,12 @@ private:
// |complete| will be true if decoding was complete.
SkBitmap decode(size_t index, ImageDecoder**, bool* complete);
- // Return the next generation ID of a new image object. This is used
- // to identify images of the same frame from different stages of
- // progressive decode.
- size_t nextGenerationId() { return m_decodeCount++; }
-
SkISize m_fullSize;
ThreadSafeDataTransport m_data;
bool m_isMultiFrame;
bool m_decodeFailedAndEmpty;
Vector<bool> m_hasAlpha;
- size_t m_decodeCount;
+ int m_decodeCount;
OwnPtr<ExternalMemoryAllocator> m_externalAllocator;
OwnPtr<ImageDecoderFactory> m_imageDecoderFactory;
« no previous file with comments | « Source/platform/graphics/ImageDecodingStoreTest.cpp ('k') | Source/platform/graphics/ImageFrameGenerator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698