| Index: content/common/gpu/client/context_provider_command_buffer.cc
|
| diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc
|
| index 2128970ab9de64ba9e05e69b39ea9855b48ca269..ceb02d0c6965654f2264a8d8acebe53932396d01 100644
|
| --- a/content/common/gpu/client/context_provider_command_buffer.cc
|
| +++ b/content/common/gpu/client/context_provider_command_buffer.cc
|
| @@ -139,6 +139,14 @@ ContextProviderCommandBuffer::Context3d() {
|
| return context3d_.get();
|
| }
|
|
|
| +gpu::gles2::GLES2Interface* ContextProviderCommandBuffer::ContextGL() {
|
| + DCHECK(context3d_);
|
| + DCHECK(lost_context_callback_proxy_); // Is bound to thread.
|
| + DCHECK(context_thread_checker_.CalledOnValidThread());
|
| +
|
| + return context3d_->GetImplementation();
|
| +}
|
| +
|
| gpu::ContextSupport* ContextProviderCommandBuffer::ContextSupport() {
|
| return context3d_->GetContextSupport();
|
| }
|
|
|