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

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

Issue 688423004: Remove multi-frame image decoder when the image is completely decoded (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: Source/platform/graphics/ImageFrameGenerator.h
diff --git a/Source/platform/graphics/ImageFrameGenerator.h b/Source/platform/graphics/ImageFrameGenerator.h
index e9ea0d407690b36f3e870a9ec7781ddacc19d2aa..c60f7ad01f06a59267c77763eccd8a7250726d71 100644
--- a/Source/platform/graphics/ImageFrameGenerator.h
+++ b/Source/platform/graphics/ImageFrameGenerator.h
@@ -110,6 +110,8 @@ private:
bool m_decodeFailedAndEmpty;
Vector<bool> m_hasAlpha;
int m_decodeCount;
+ Vector<bool> m_frameComplete;
+ size_t m_framesCount;
Alpha Left Google 2014/10/31 17:17:49 I don't think you need this member variable. This
OwnPtr<ExternalMemoryAllocator> m_externalAllocator;
OwnPtr<ImageDecoderFactory> m_imageDecoderFactory;
« no previous file with comments | « no previous file | Source/platform/graphics/ImageFrameGenerator.cpp » ('j') | Source/platform/graphics/ImageFrameGenerator.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698