Index: gpu/blink/webgraphicscontext3d_impl.cc |
diff --git a/gpu/blink/webgraphicscontext3d_impl.cc b/gpu/blink/webgraphicscontext3d_impl.cc |
index f2e1434c32a2a6b8ac77ac17e9c5b9160485f15b..8645c2319c9ca29ec555f727a0851b36fe37e747 100644 |
--- a/gpu/blink/webgraphicscontext3d_impl.cc |
+++ b/gpu/blink/webgraphicscontext3d_impl.cc |
@@ -1230,8 +1230,7 @@ void WebGraphicsContext3DImpl::ConvertAttributes( |
output_attribs->fail_if_major_perf_caveat = |
attributes.failIfMajorPerformanceCaveat; |
output_attribs->bind_generates_resource = false; |
- output_attribs->es3_context_required = |
- (attributes.webGL && attributes.webGLVersion == 2); |
+ output_attribs->webgl_version = attributes.webGLVersion; |
} |
} // namespace gpu_blink |