Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
index 3338d4aa8ad1e5039efc98d14e95b2c39d9237ad..9643232b16f236ae1b7d77314ed899ca2c638332 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
@@ -40,6 +40,7 @@ class SkImage; |
namespace blink { |
+class ColorSpaceProfile; |
class ImageFrameGenerator; |
class SharedBuffer; |
struct FrameData; |
@@ -65,6 +66,7 @@ public: |
bool isSizeAvailable(); |
bool hasColorProfile() const; |
+ PassRefPtr<ColorSpaceProfile> colorProfile() const; |
IntSize size() const; |
IntSize frameSizeAtIndex(size_t index) const; |
size_t frameCount(); |
@@ -96,9 +98,11 @@ private: |
String m_filenameExtension; |
IntSize m_size; |
int m_repetitionCount; |
- bool m_hasColorProfile; |
bool m_canYUVDecode; |
+ bool m_hasColorProfile; |
+ RefPtr<ColorSpaceProfile> m_colorProfile; |
+ |
// Carries only frame state and other information. Does not carry bitmap. |
Vector<FrameData> m_frameData; |
RefPtr<ImageFrameGenerator> m_frameGenerator; |