Index: gpu/command_buffer/service/gl_context_virtual_unittest.cc |
diff --git a/gpu/command_buffer/service/gl_context_virtual_unittest.cc b/gpu/command_buffer/service/gl_context_virtual_unittest.cc |
index 2da1a4ecaf65bc3c9ab36fdb99a7b62b72a4b890..2b179a7b9b88a0a404c234452dc429faaaff48d4 100644 |
--- a/gpu/command_buffer/service/gl_context_virtual_unittest.cc |
+++ b/gpu/command_buffer/service/gl_context_virtual_unittest.cc |
@@ -41,7 +41,7 @@ TEST_F(GLContextVirtualTest, Reinitialize) { |
{ |
scoped_refptr<gl::GLContextStub> base_context = new gl::GLContextStub; |
gl::GLShareGroup* share_group = base_context->share_group(); |
- share_group->SetSharedContext(base_context.get()); |
+ share_group->SetSharedContext(GetGLSurface(), base_context.get()); |
scoped_refptr<GLContextVirtual> context(new GLContextVirtual( |
share_group, base_context.get(), decoder_->AsWeakPtr())); |
EXPECT_TRUE(context->Initialize(GetGLSurface(), gl::PreferIntegratedGpu)); |
@@ -50,7 +50,7 @@ TEST_F(GLContextVirtualTest, Reinitialize) { |
{ |
scoped_refptr<gl::GLContextStub> base_context = new gl::GLContextStub; |
gl::GLShareGroup* share_group = base_context->share_group(); |
- share_group->SetSharedContext(base_context.get()); |
+ share_group->SetSharedContext(GetGLSurface(), base_context.get()); |
scoped_refptr<GLContextVirtual> context(new GLContextVirtual( |
share_group, base_context.get(), decoder_->AsWeakPtr())); |
EXPECT_TRUE(context->Initialize(GetGLSurface(), gl::PreferIntegratedGpu)); |