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 f2d03391f911297320463abebe0c19c2ed5e5435..8c91ce6632e93917b64a9c68235df25090960daa 100644 |
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h |
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h |
@@ -33,6 +33,7 @@ |
#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" |
namespace blink { |
@@ -57,8 +58,7 @@ |
sk_sp<SkImage> newImageSnapshot(AccelerationHint, SnapshotReason) override; |
private: |
- sk_sp<SkSurface> m_surface; |
- std::unique_ptr<PaintCanvas> m_canvas; |
+ sk_sp<PaintSurface> m_surface; |
}; |
} // namespace blink |