| Index: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
|
| diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
|
| index c515145aaced8e23fc909c56a2a529c7b829ded0..1f994a34aecebcf366194bba3ee2b09f4c45314e 100644
|
| --- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
|
| +++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
|
| @@ -59,6 +59,9 @@ class MODULES_EXPORT OffscreenCanvasRenderingContext2D final
|
| PassRefPtr<Image> GetImage(AccelerationHint, SnapshotReason) const final;
|
| ImageData* ToImageData(SnapshotReason) override;
|
| void Reset() override;
|
| + void RestoreCanvasMatrixClipStack(PaintCanvas* c) const override {
|
| + RestoreMatrixClipStack(c);
|
| + }
|
|
|
| // BaseRenderingContext2D implementation
|
| bool OriginClean() const final;
|
| @@ -107,9 +110,6 @@ class MODULES_EXPORT OffscreenCanvasRenderingContext2D final
|
| }
|
|
|
| private:
|
| - bool needs_matrix_clip_restore_ = false;
|
| - std::unique_ptr<ImageBuffer> image_buffer_;
|
| -
|
| bool IsPaintable() const final;
|
|
|
| RefPtr<StaticBitmapImage> TransferToStaticBitmapImage();
|
|
|