Chromium Code Reviews

Unified Diff: content/common/gpu/client/context_provider_command_buffer.cc

Issue 470973002: gpu: Remove WebGraphicsContext3D::makeContextCurrent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move GLES2Initializer to GrContextForWebGraphicsContext3D, and rename to InitializeOnCurrentThread() Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 f23283ed55dd1b20a2b7e9045273cdc7321576ef..a4c3111c0cea56475463ae9eac507a986afb95b3 100644
--- a/content/common/gpu/client/context_provider_command_buffer.cc
+++ b/content/common/gpu/client/context_provider_command_buffer.cc
@@ -91,7 +91,7 @@ bool ContextProviderCommandBuffer::BindToCurrentThread() {
if (lost_context_callback_proxy_)
return true;
- if (!context3d_->makeContextCurrent())
+ if (!context3d_->InitializeOnCurrentThread())
return false;
InitializeCapabilities();

Powered by Google App Engine