| 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 e6a3d891690dac78be7e67d2e3f819c4864500dc..1ed2c308af28b918d176fd8a4f4d49fd7f6adb7b 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| @@ -166,13 +166,14 @@ class CORE_EXPORT CanvasRenderingContext
|
| virtual bool paint(GraphicsContext&, const IntRect&) { return false; }
|
|
|
| // OffscreenCanvas-specific methods
|
| - OffscreenCanvas* getOffscreenCanvas() const { return m_offscreenCanvas; }
|
| + OffscreenCanvas* offscreenCanvas() const { return m_offscreenCanvas; }
|
| virtual ImageBitmap* transferToImageBitmap(ScriptState*) { return nullptr; }
|
|
|
| bool wouldTaintOrigin(CanvasImageSource*, SecurityOrigin* = nullptr);
|
| void didMoveToNewDocument(Document*);
|
|
|
| void detachCanvas() { m_canvas = nullptr; }
|
| + void detachOffscreenCanvas() { m_offscreenCanvas = nullptr; }
|
|
|
| const CanvasContextCreationAttributes& creationAttributes() const {
|
| return m_creationAttributes;
|
|
|