Chromium Code Reviews

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

Issue 470973002: gpu: Remove WebGraphicsContext3D::makeContextCurrent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove WebGraphicsContext3D::makeContextCurrent() 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/gl_helper_benchmark.cc
diff --git a/content/common/gpu/client/gl_helper_benchmark.cc b/content/common/gpu/client/gl_helper_benchmark.cc
index 225db426534878ef26df372251d09a3bc38851c5..c9af335372dd1ba86e9e92c39d4c7f73c6046f1a 100644
--- a/content/common/gpu/client/gl_helper_benchmark.cc
+++ b/content/common/gpu/client/gl_helper_benchmark.cc
@@ -61,7 +61,7 @@ class GLHelperTest : public testing::Test {
bool lose_context_when_out_of_memory = false;
context_ = webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl::
CreateOffscreenContext(attributes, lose_context_when_out_of_memory);
- context_->makeContextCurrent();
+ context_->BindToCurrentThread();
helper_.reset(
new content::GLHelper(context_->GetGLInterface(),

Powered by Google App Engine