| Index: content/common/gpu/gpu_command_buffer_stub.cc
|
| diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
|
| index 2612db2a68d766743fb0ce32b52b6448a6cbe3d9..e6e1e78bc4597ceb4fd3b4aab203cdd2ede624d1 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -405,10 +405,8 @@ void GpuCommandBufferStub::OnInitialize(
|
| }
|
|
|
| scoped_refptr<gfx::GLContext> context;
|
| - if ((context_group_->feature_info()->feature_flags().enable_virtual_context ||
|
| - CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableVirtualGLContexts)) &&
|
| - channel_->share_group()) {
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableVirtualGLContexts) && channel_->share_group()) {
|
| context = channel_->share_group()->GetSharedContext();
|
| if (!context) {
|
| context = gfx::GLContext::CreateGLContext(
|
|
|