| 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 21ba2a6c198f70c38f5bbdda4b6f099dd7f1173e..2b551b90c91235d028d87b4f244b8aae9f57a15d 100644
|
| --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| @@ -296,12 +296,11 @@ bool WebGraphicsContext3DCommandBufferImpl::CreateContext(bool onscreen) {
|
| return true;
|
| }
|
|
|
| -bool WebGraphicsContext3DCommandBufferImpl::makeContextCurrent() {
|
| +bool WebGraphicsContext3DCommandBufferImpl::BindToCurrentThread() {
|
| if (!MaybeInitializeGL()) {
|
| DLOG(ERROR) << "Failed to initialize context.";
|
| return false;
|
| }
|
| - gles2::SetGLContext(GetGLInterface());
|
| if (gpu::error::IsError(command_buffer_->GetLastError())) {
|
| LOG(ERROR) << "Context dead on arrival. Last error: "
|
| << command_buffer_->GetLastError();
|
|
|