summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/ImageSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/ImageSource.h')
-rw-r--r--WebCore/platform/graphics/ImageSource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/ImageSource.h b/WebCore/platform/graphics/ImageSource.h
index 4d50253..3d96698 100644
--- a/WebCore/platform/graphics/ImageSource.h
+++ b/WebCore/platform/graphics/ImageSource.h
@@ -138,7 +138,7 @@ const int cAnimationNone = -2;
class ImageSource : public Noncopyable {
public:
- ImageSource(bool premultiplyAlpha = true);
+ ImageSource(bool premultiplyAlpha = true, bool ignoreGammaAndColorProfile = false);
~ImageSource();
// Tells the ImageSource that the Image no longer cares about decoded frame
@@ -207,6 +207,7 @@ protected:
#endif
NativeImageSourcePtr m_decoder;
bool m_premultiplyAlpha;
+ bool m_ignoreGammaAndColorProfile;
#if ENABLE(IMAGE_DECODER_DOWN_SAMPLING)
static unsigned s_maxPixelsPerDecodedImage;
#endif