| Index: third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasRenderingContextFactory.h
|
| diff --git a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasRenderingContextFactory.h b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasRenderingContextFactory.h
|
| index 3dd34985d7341518706565bd68ccfa74771e709b..a13ce4e12cb869a1ff13b65e2f830b6b0bac3877 100644
|
| --- a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasRenderingContextFactory.h
|
| +++ b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasRenderingContextFactory.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef OffscreenCanvasRenderingContextFactory_h
|
| #define OffscreenCanvasRenderingContextFactory_h
|
|
|
| +#include "bindings/core/v8/ScriptState.h"
|
| #include "wtf/Allocator.h"
|
| #include "wtf/PassRefPtr.h"
|
|
|
| @@ -21,7 +22,7 @@ public:
|
| OffscreenCanvasRenderingContextFactory() = default;
|
| virtual ~OffscreenCanvasRenderingContextFactory() { }
|
|
|
| - virtual OffscreenCanvasRenderingContext* create(OffscreenCanvas*, const CanvasContextCreationAttributes&) = 0;
|
| + virtual OffscreenCanvasRenderingContext* create(ScriptState*, OffscreenCanvas*, const CanvasContextCreationAttributes&) = 0;
|
| virtual OffscreenCanvasRenderingContext::ContextType getContextType() const = 0;
|
| virtual void onError(OffscreenCanvas*, const String& error) = 0;
|
| };
|
|
|