| Index: third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
|
| index 9ce602fc19701322f307c93d6417b0422508df0d..9c98aea413ce4aee4bc450238046883bc1403745 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
|
| @@ -23,9 +23,9 @@ class MODULES_EXPORT PaintRenderingContext2D : public BaseRenderingContext2D, pu
|
| USING_GARBAGE_COLLECTED_MIXIN(PaintRenderingContext2D);
|
| WTF_MAKE_NONCOPYABLE(PaintRenderingContext2D);
|
| public:
|
| - static PaintRenderingContext2D* create(std::unique_ptr<ImageBuffer> imageBuffer, bool hasAlpha)
|
| + static PaintRenderingContext2D* create(std::unique_ptr<ImageBuffer> imageBuffer, bool hasAlpha, float zoom)
|
| {
|
| - return new PaintRenderingContext2D(std::move(imageBuffer), hasAlpha);
|
| + return new PaintRenderingContext2D(std::move(imageBuffer), hasAlpha, zoom);
|
| }
|
|
|
| // BaseRenderingContext2D
|
| @@ -68,7 +68,7 @@ public:
|
| bool isContextLost() const final { return false; }
|
|
|
| private:
|
| - PaintRenderingContext2D(std::unique_ptr<ImageBuffer>, bool hasAlpha);
|
| + PaintRenderingContext2D(std::unique_ptr<ImageBuffer>, bool hasAlpha, float zoom);
|
|
|
| std::unique_ptr<ImageBuffer> m_imageBuffer;
|
| bool m_hasAlpha;
|
|
|