| Index: third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl
|
| diff --git a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl
|
| index 2d34f03b66e09d738ec54e19164962356bf29d22..90d7a03404b5bbaff8e4b4ff8aeac6343e383d5f 100644
|
| --- a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl
|
| +++ b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.idl
|
| @@ -2,8 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -typedef OffscreenCanvasRenderingContext2D OffscreenRenderingContext;
|
| +typedef (OffscreenCanvasRenderingContext2D or
|
| + WebGLRenderingContext or
|
| + WebGL2RenderingContext) OffscreenRenderingContext;
|
|
|
| partial interface OffscreenCanvas {
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures] OffscreenRenderingContext? getContext(DOMString contextId, optional CanvasContextCreationAttributes attributes);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures, CallWith=ScriptState] OffscreenRenderingContext? getContext(DOMString contextId, optional CanvasContextCreationAttributes attributes);
|
| };
|
|
|