| Index: chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
|
| ===================================================================
|
| --- chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc (revision 51427)
|
| +++ chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc (working copy)
|
| @@ -63,7 +63,10 @@
|
| if (!context_)
|
| return false;
|
| // TODO(gman): Remove this.
|
| - DisableShaderTranslation(context_);
|
| + const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| + if (!command_line.HasSwitch(switches::kEnableGLSLTranslator)) {
|
| + DisableShaderTranslation(context_);
|
| + }
|
| return true;
|
| }
|
|
|
|
|