| Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| ===================================================================
|
| --- webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (revision 137438)
|
| +++ webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (working copy)
|
| @@ -424,10 +424,16 @@
|
| return false;
|
| }
|
|
|
| + if (!context_->MakeCurrent(surface_.get())) {
|
| + LOG(ERROR) << "Could not make context current.";
|
| + Destroy();
|
| + return false;
|
| + }
|
| +
|
| ::gpu::gles2::DisallowedFeatures disallowed_features;
|
| disallowed_features.swap_buffer_complete_callback = true;
|
| - if (!decoder_->Initialize(surface_.get(),
|
| - context_.get(),
|
| + if (!decoder_->Initialize(surface_,
|
| + context_,
|
| true,
|
| size,
|
| disallowed_features,
|
|
|