| 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 aaf33831899d843bca629adb615a885a1ec6f7f2..8bd665e60ba868a85119326d398b030fe81fe4cb 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| @@ -81,6 +81,9 @@ public:
|
| // Return true if the content is updated.
|
| virtual bool paintRenderingResultsToCanvas(SourceDrawingBuffer) { return false; }
|
|
|
| + // Note: this function is strictly for OffscreenCanvas only.
|
| + virtual bool isPaintable() const = 0;
|
| +
|
| virtual WebLayer* platformLayer() const { return nullptr; }
|
|
|
| enum LostContextMode {
|
|
|