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_)); |