| Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| index 9b9ae50a62d4e57f77abbfa0ec39870ab46b730c..06c9b2809b0341e6a7af264ed1b030b556b7fbf4 100644
|
| --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| @@ -98,7 +98,7 @@ WebGraphicsContext3DCommandBufferImpl::WebGraphicsContext3DCommandBufferImpl(
|
| : gfx::PreferIntegratedGpu),
|
| mem_limits_(limits),
|
| weak_ptr_factory_(this) {
|
| - if (attributes_.webGL)
|
| + if (attributes_.webGLVersion > 0)
|
| context_type_ = OFFSCREEN_CONTEXT_FOR_WEBGL;
|
| if (share_context) {
|
| DCHECK(!attributes_.shareResources);
|
|
|