| Index: third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
|
| index 9e1f58fb39eb9c7cb9f962728737dc12d1ef8e7b..8ec827fa0de1cb032764f7068cc9d1c512badfd5 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
|
| @@ -32,6 +32,7 @@
|
| #define UnacceleratedImageBufferSurface_h
|
|
|
| #include "platform/graphics/ImageBufferSurface.h"
|
| +#include "skia/ext/cdl_common.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
|
|
| class SkSurface;
|
| @@ -52,13 +53,14 @@ class PLATFORM_EXPORT UnacceleratedImageBufferSurface
|
| SkColorType = kN32_SkColorType);
|
| ~UnacceleratedImageBufferSurface() override;
|
|
|
| - SkCanvas* canvas() override;
|
| + CdlCanvas* canvas() override;
|
| bool isValid() const override;
|
|
|
| sk_sp<SkImage> newImageSnapshot(AccelerationHint, SnapshotReason) override;
|
|
|
| private:
|
| sk_sp<SkSurface> m_surface;
|
| + std::unique_ptr<CdlCanvas> m_canvas;
|
| };
|
|
|
| } // namespace blink
|
|
|