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..8c91ce6632e93917b64a9c68235df25090960daa 100644 |
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h |
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h |
@@ -32,10 +32,10 @@ |
#define UnacceleratedImageBufferSurface_h |
#include "platform/graphics/ImageBufferSurface.h" |
+#include "platform/graphics/paint/PaintCanvas.h" |
+#include "platform/graphics/paint/PaintSurface.h" |
#include "third_party/skia/include/core/SkRefCnt.h" |
-class SkSurface; |
- |
namespace blink { |
class PLATFORM_EXPORT UnacceleratedImageBufferSurface |
@@ -52,13 +52,13 @@ class PLATFORM_EXPORT UnacceleratedImageBufferSurface |
SkColorType = kN32_SkColorType); |
~UnacceleratedImageBufferSurface() override; |
- SkCanvas* canvas() override; |
+ PaintCanvas* canvas() override; |
bool isValid() const override; |
sk_sp<SkImage> newImageSnapshot(AccelerationHint, SnapshotReason) override; |
private: |
- sk_sp<SkSurface> m_surface; |
+ sk_sp<PaintSurface> m_surface; |
}; |
} // namespace blink |