| 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 17c5b73e2260ae2741fea3040f6ae4aa9429db3a..42dccec506d7122e84cabd3eaf8c3291c23b6806 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 {
|
| - [RaisesException, RuntimeEnabled=ExperimentalCanvasFeatures] OffscreenRenderingContext? getContext(DOMString contextId, optional CanvasContextCreationAttributes attributes);
|
| + [CallWith=ScriptState, RaisesException, RuntimeEnabled=ExperimentalCanvasFeatures] OffscreenRenderingContext? getContext(DOMString contextId, optional CanvasContextCreationAttributes attributes);
|
| };
|
|
|