| Index: Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp b/Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| index eb863d76fb16fc310f59f302f4147b4f3bb18380..188bfa10ec520460090ad0b0b8fe1c509b8485b0 100644
|
| --- a/Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp
|
| @@ -54,7 +54,7 @@ void V8HTMLCanvasElement::getContextMethodCustom(const v8::FunctionCallbackInfo<
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, contextIdResource, args[0]);
|
| String contextId = contextIdResource;
|
| RefPtr<CanvasContextAttributes> attributes;
|
| - if (contextId == "webgl" || contextId == "experimental-webgl" || contextId == "webkit-3d") {
|
| + if (contextId == "webgl2" || contextId == "webgl" || contextId == "experimental-webgl" || contextId == "webkit-3d") {
|
| RefPtr<WebGLContextAttributes> webGLAttributes = WebGLContextAttributes::create();
|
| if (args.Length() > 1 && args[1]->IsObject()) {
|
| v8::Handle<v8::Object> jsAttributes = args[1]->ToObject();
|
|
|