| Index: third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h
|
| index 1c13f51c25d6df779ccf341d58e42af84ed64715..5e41d14443d8c8cfee421dfc32959a1a1ea56480 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h
|
| @@ -35,6 +35,7 @@
|
| #include "platform/geometry/IntSize.h"
|
| #include "platform/graphics/GraphicsTypes.h"
|
| #include "third_party/khronos/GLES2/gl2.h"
|
| +#include "third_party/skia/include/core/SkImageInfo.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
| #include "wtf/Allocator.h"
|
| @@ -104,16 +105,21 @@ class PLATFORM_EXPORT ImageBufferSurface {
|
| OpacityMode getOpacityMode() const { return m_opacityMode; }
|
| const IntSize& size() const { return m_size; }
|
| const sk_sp<SkColorSpace> colorSpace() const { return m_colorSpace; }
|
| + SkColorType colorType() const { return m_colorType; }
|
| void notifyIsValidChanged(bool isValid) const;
|
|
|
| protected:
|
| - ImageBufferSurface(const IntSize&, OpacityMode, sk_sp<SkColorSpace>);
|
| + ImageBufferSurface(const IntSize&,
|
| + OpacityMode,
|
| + sk_sp<SkColorSpace>,
|
| + SkColorType);
|
| void clear();
|
|
|
| private:
|
| OpacityMode m_opacityMode;
|
| IntSize m_size;
|
| sk_sp<SkColorSpace> m_colorSpace;
|
| + SkColorType m_colorType;
|
| };
|
|
|
| } // namespace blink
|
|
|