| 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 990a1515ab8721e3de7df09f4476e3d67f7c015f..7eb99bf2001688bd1cbd67c3d4297447a8066da5 100644
|
| --- a/content/common/gpu/client/context_provider_command_buffer.cc
|
| +++ b/content/common/gpu/client/context_provider_command_buffer.cc
|
| @@ -136,6 +136,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();
|
| }
|
|
|