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 ba1baa9be5fd45aee51f58b752b365475af40e95..7259ea12ceb111d53fcc2c1c4c564fafb3c2bc69 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.cc |
+++ b/content/common/gpu/client/context_provider_command_buffer.cc |
@@ -68,7 +68,7 @@ ContextProviderCommandBuffer::~ContextProviderCommandBuffer() { |
CommandBufferProxyImpl* ContextProviderCommandBuffer::GetCommandBufferProxy() { |
- return WebContext3D()->GetCommandBufferProxy(); |
+ return WebContext3DNoChecks()->GetCommandBufferProxy(); |
} |
WebGraphicsContext3DCommandBufferImpl* |
@@ -119,11 +119,11 @@ void ContextProviderCommandBuffer::DetachFromThread() { |
gpu::gles2::GLES2Interface* ContextProviderCommandBuffer::ContextGL() { |
DCHECK(lost_context_callback_proxy_); // Is bound to thread. |
- return WebContext3DNoChecks()->GetImplementation(); |
+ return WebContext3D()->GetImplementation(); |
} |
gpu::ContextSupport* ContextProviderCommandBuffer::ContextSupport() { |
- return WebContext3D()->GetContextSupport(); |
+ return WebContext3DNoChecks()->GetContextSupport(); |
} |
class GrContext* ContextProviderCommandBuffer::GrContext() { |