Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(587)

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

Issue 470973002: gpu: Remove WebGraphicsContext3D::makeContextCurrent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use scoped_ptr and remove unrelated changes. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/client/gl_helper_unittest.cc
diff --git a/content/common/gpu/client/gl_helper_unittest.cc b/content/common/gpu/client/gl_helper_unittest.cc
index e22c3f7966bc6eaa19b1c7af6078d4deb8d3f726..37b95b92f1697b5e373fb945fbd6e8d14247cf01 100644
--- a/content/common/gpu/client/gl_helper_unittest.cc
+++ b/content/common/gpu/client/gl_helper_unittest.cc
@@ -59,7 +59,7 @@ class GLHelperTest : public testing::Test {
context_ =
WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext(
attributes, lose_context_when_out_of_memory);
- context_->makeContextCurrent();
+ context_->BindToCurrentThread();
context_support_ = context_->GetContextSupport();
helper_.reset(
new content::GLHelper(context_->GetGLInterface(), context_support_));

Powered by Google App Engine
This is Rietveld 408576698