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

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: fix DeferredImageDecoderTest crash Created 6 years, 1 month 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..8de403d460f0f06d0f733c0ef96fb2e27eab82f1 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_frameCount;
OwnPtr<ExternalMemoryAllocator> m_externalAllocator;
OwnPtr<ImageDecoderFactory> m_imageDecoderFactory;
« no previous file with comments | « Source/platform/graphics/DeferredImageDecoderTest.cpp ('k') | Source/platform/graphics/ImageFrameGenerator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698