| Index: third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
|
| index 7a51c75e23dfa7f6aa20ba419fc6ded626c89d71..f6e4e8b14640b89ec7db3dc83f3ae120c9aaf77f 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
|
| @@ -29,6 +29,7 @@
|
|
|
| #include "platform/PlatformExport.h"
|
| #include "platform/geometry/IntRect.h"
|
| +#include "public/platform/WebVector.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| #include "wtf/Allocator.h"
|
| #include "wtf/Assertions.h"
|
| @@ -70,6 +71,8 @@ public:
|
| };
|
| typedef uint32_t PixelData;
|
|
|
| + typedef WebVector<char> ICCProfile;
|
| +
|
| ImageFrame();
|
|
|
| // The assignment operator reads m_hasAlpha (inside setStatus()) before it
|
| @@ -111,7 +114,7 @@ public:
|
| // Allocates space for the pixel data. Must be called before any pixels
|
| // are written. Must only be called once. Returns whether allocation
|
| // succeeded.
|
| - bool setSize(int newWidth, int newHeight);
|
| + bool setSizeAndColorProfile(int newWidth, int newHeight, const ICCProfile& newIccProfile);
|
|
|
| bool hasAlpha() const;
|
| const IntRect& originalFrameRect() const { return m_originalFrameRect; }
|
|
|