summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorjunov <junov@chromium.org>2015-11-13 13:16:53 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-13 21:18:00 +0000
commitd27bbc9a752099444c24f0d427d69505df27738e (patch)
treede1c6d380c64be32dd321dfadaa64eb6cf2531b4 /content
parent8b3b31d64338c7eadb59b433da6a933f9ad1c0ca (diff)
downloadchromium_src-d27bbc9a752099444c24f0d427d69505df27738e.zip
chromium_src-d27bbc9a752099444c24f0d427d69505df27738e.tar.gz
chromium_src-d27bbc9a752099444c24f0d427d69505df27738e.tar.bz2
Fix failing thread check in ContextProviderCommandBuffer::ContextGL
BUG=551143 TBR=cbiesinger@chromium.org Review URL: https://codereview.chromium.org/1450433002 Cr-Commit-Position: refs/heads/master@{#359644}
Diffstat (limited to 'content')
-rw-r--r--content/common/gpu/client/context_provider_command_buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc
index 9436732..ba1baa9 100644
--- a/content/common/gpu/client/context_provider_command_buffer.cc
+++ b/content/common/gpu/client/context_provider_command_buffer.cc
@@ -119,7 +119,7 @@ void ContextProviderCommandBuffer::DetachFromThread() {
gpu::gles2::GLES2Interface* ContextProviderCommandBuffer::ContextGL() {
DCHECK(lost_context_callback_proxy_); // Is bound to thread.
- return WebContext3D()->GetImplementation();
+ return WebContext3DNoChecks()->GetImplementation();
}
gpu::ContextSupport* ContextProviderCommandBuffer::ContextSupport() {