| Index: gpu/command_buffer/service/gpu_processor.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/gpu_processor.cc (revision 36557)
|
| +++ gpu/command_buffer/service/gpu_processor.cc (working copy)
|
| @@ -35,6 +35,12 @@
|
| if (command_buffer_->GetErrorStatus())
|
| return;
|
|
|
| + if (decoder_.get()) {
|
| + // TODO(apatrick): need to do more than this on failure.
|
| + if (!decoder_->MakeCurrent())
|
| + return;
|
| + }
|
| +
|
| parser_->set_put(command_buffer_->GetPutOffset());
|
|
|
| int commands_processed = 0;
|
|
|