diff options
Diffstat (limited to 'content/common/gpu/client/gl_helper_unittest.cc')
| -rw-r--r-- | content/common/gpu/client/gl_helper_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/gpu/client/gl_helper_unittest.cc b/content/common/gpu/client/gl_helper_unittest.cc index 280ef1b..13027fc 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_)); |
