| Index: third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.cpp
|
| diff --git a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.cpp b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.cpp
|
| index 9b20958741b447c97f15dc2717d153017b566de9..92e8b6d43f8908926bec7b28f28cfac0ff29477a 100644
|
| --- a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.cpp
|
| +++ b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "modules/offscreencanvas/OffscreenCanvasModules.h"
|
|
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/html/canvas/CanvasContextCreationAttributes.h"
|
| #include "core/offscreencanvas/OffscreenCanvas.h"
|
| #include "modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h"
|
| @@ -25,7 +26,7 @@
|
|
|
| // OffscreenCanvas cannot be transferred after getContext, so this execution
|
| // context will always be the right one from here on.
|
| - offscreen_canvas.SetExecutionContext(script_state->GetExecutionContext());
|
| + offscreen_canvas.SetExecutionContext(ExecutionContext::From(script_state));
|
| CanvasRenderingContext* context =
|
| offscreen_canvas.GetCanvasRenderingContext(script_state, id, attributes);
|
| if (context)
|
|
|