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 ea89f7b72db128a7c59a2b1d13142b45dcf12515..39fe0288cf4e6996f26cecf22cffc5a67839283a 100644 |
--- a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.cpp |
+++ b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.cpp |
@@ -23,6 +23,7 @@ void OffscreenCanvasModules::getContext( |
return; |
} |
+ offscreenCanvas.setExecutionContext(scriptState->getExecutionContext()); |
Justin Novosad
2016/11/14 19:45:08
Add a comment: OffscreenCanvas cannot be transferr
|
CanvasRenderingContext* context = |
offscreenCanvas.getCanvasRenderingContext(scriptState, id, attributes); |
if (context) |