| Index: third_party/WebKit/Source/platform/graphics/ImageSource.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h
|
| index a04cc45c8931b2ec6ed366b273c770785e6b7ee3..d93a90334bdc7c73efda2c2c1055eeee289d5811 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
|
| @@ -27,10 +27,12 @@
|
| #define ImageSource_h
|
|
|
| #include "platform/PlatformExport.h"
|
| +#include "platform/graphics/ColorSpaceProfile.h"
|
| #include "platform/graphics/ImageOrientation.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/OwnPtr.h"
|
| +#include "wtf/RefPtr.h"
|
|
|
| class SkImage;
|
|
|
| @@ -71,8 +73,12 @@ public:
|
| void setData(SharedBuffer& data, bool allDataReceived);
|
| String filenameExtension() const;
|
|
|
| + void resetDecoder();
|
| bool isSizeAvailable();
|
| bool hasColorProfile() const;
|
| + PassRefPtr<ColorSpaceProfile> colorProfile() const;
|
| + void setDeviceProfile(ColorSpaceProfile*);
|
| + ColorSpaceProfile* deviceProfile() const { return m_deviceProfile.get(); }
|
| IntSize size(RespectImageOrientationEnum = DoNotRespectImageOrientation) const;
|
| IntSize frameSizeAtIndex(size_t, RespectImageOrientationEnum = DoNotRespectImageOrientation) const;
|
|
|
| @@ -95,6 +101,7 @@ public:
|
|
|
| private:
|
| OwnPtr<DeferredImageDecoder> m_decoder;
|
| + RefPtr<ColorSpaceProfile> m_deviceProfile;
|
| };
|
|
|
| } // namespace blink
|
|
|