| Index: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| index 5da3199bae3be16c86076a0262e3e856357a6e7a..ffdeca2e7e19a6a5dcaa05c22d0ef14285c22be1 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| @@ -88,6 +88,9 @@ class CORE_EXPORT CanvasRenderingContext
|
|
|
| virtual PassRefPtr<Image> getImage(AccelerationHint,
|
| SnapshotReason) const = 0;
|
| + virtual ImageData* toImageData(SnapshotReason reason) const {
|
| + return nullptr;
|
| + }
|
| virtual ContextType getContextType() const = 0;
|
| virtual bool isAccelerated() const { return false; }
|
| virtual bool shouldAntialias() const { return false; }
|
|
|