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 280ef1bfb5fc351aaa64af3a0187eded84121a44..13027fc6343161909baa7967c71608eaeaa17ce6 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_->InitializeOnCurrentThread(); |
context_support_ = context_->GetContextSupport(); |
helper_.reset( |
new content::GLHelper(context_->GetGLInterface(), context_support_)); |