| Index: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContextFactory.h
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContextFactory.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContextFactory.h
|
| index a1d94d3b90220dc542a4ece131ee65bb21790b8b..a8d3f9a59acc36315b33079da870d1e64c3213c2 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContextFactory.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContextFactory.h
|
| @@ -25,7 +25,7 @@ public:
|
| virtual ~CanvasRenderingContextFactory() { }
|
|
|
| virtual CanvasRenderingContext* create(HTMLCanvasElement*, const CanvasContextCreationAttributes&, Document&) { return nullptr; }
|
| - virtual CanvasRenderingContext* create(OffscreenCanvas*, const CanvasContextCreationAttributes&) { return nullptr; }
|
| + virtual CanvasRenderingContext* create(ScriptState*, OffscreenCanvas*, const CanvasContextCreationAttributes&) { return nullptr; }
|
| virtual CanvasRenderingContext::ContextType getContextType() const = 0;
|
| virtual void onError(HTMLCanvasElement*, const String& error) {};
|
| virtual void onError(OffscreenCanvas*, const String& error) {};
|
|
|