| Index: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
|
| index 93034d3f7c75933e7c57df70a73a27751e938971..56837a82ef36abaaf3139f3ea51304b7952ae320 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
|
| @@ -13,10 +13,6 @@
|
| #include "wtf/Noncopyable.h"
|
| #include <memory>
|
|
|
| -class SkCanvas;
|
| -class SkPicture;
|
| -class SkPictureRecorder;
|
| -
|
| namespace blink {
|
|
|
| class ImageBuffer;
|
| @@ -56,9 +52,9 @@ class PLATFORM_EXPORT RecordingImageBufferSurface : public ImageBufferSurface {
|
| ~RecordingImageBufferSurface() override;
|
|
|
| // Implementation of ImageBufferSurface interfaces
|
| - SkCanvas* canvas() override;
|
| + PaintCanvas* canvas() override;
|
| void disableDeferral(DisableDeferralReason) override;
|
| - sk_sp<SkPicture> getPicture() override;
|
| + sk_sp<PaintRecord> getPicture() override;
|
| void flush(FlushReason) override;
|
| void didDraw(const FloatRect&) override;
|
| bool isValid() const override { return true; }
|
| @@ -128,8 +124,8 @@ class PLATFORM_EXPORT RecordingImageBufferSurface : public ImageBufferSurface {
|
| bool finalizeFrameInternal(FallbackReason*);
|
| int approximateOpCount();
|
|
|
| - std::unique_ptr<SkPictureRecorder> m_currentFrame;
|
| - sk_sp<SkPicture> m_previousFrame;
|
| + std::unique_ptr<PaintRecorder> m_currentFrame;
|
| + sk_sp<PaintRecord> m_previousFrame;
|
| std::unique_ptr<ImageBufferSurface> m_fallbackSurface;
|
| ImageBuffer* m_imageBuffer;
|
| int m_initialSaveCount;
|
|
|