Index: ui/gl/gl_context_ozone.cc |
diff --git a/ui/gl/gl_context_ozone.cc b/ui/gl/gl_context_ozone.cc |
index d62b5686b9ed63b0ac5e5a18984dafc0326e905a..3727c656c160069b86a852e8692df16d1f2e9699 100644 |
--- a/ui/gl/gl_context_ozone.cc |
+++ b/ui/gl/gl_context_ozone.cc |
@@ -24,7 +24,7 @@ scoped_refptr<GLContext> GLContext::CreateGLContext( |
switch (GetGLImplementation()) { |
case kGLImplementationMockGL: |
- return scoped_refptr<GLContext>(new GLContextStub()); |
+ return scoped_refptr<GLContext>(new GLContextStub(share_group)); |
case kGLImplementationOSMesaGL: { |
scoped_refptr<GLContext> context(new GLContextOSMesa(share_group)); |
if (!context->Initialize(compatible_surface, gpu_preference)) |
@@ -44,4 +44,3 @@ scoped_refptr<GLContext> GLContext::CreateGLContext( |
} |
} // namespace gfx |
- |