| 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 7aa08157f07768500b08bc2b83ff063010c057a1..cb61c23899c6c8d6c2516a75d80e9c477f1ccc3c 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| @@ -164,13 +164,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;
|
|
|