| Index: ui/gl/test/gl_surface_test_support.cc
|
| diff --git a/ui/gl/test/gl_surface_test_support.cc b/ui/gl/test/gl_surface_test_support.cc
|
| index d7f132316f4e42f3f41ab73a1eb916fa420b5a26..88f4fed000a2557f25ee5b5dac7057003ef14eab 100644
|
| --- a/ui/gl/test/gl_surface_test_support.cc
|
| +++ b/ui/gl/test/gl_surface_test_support.cc
|
| @@ -94,4 +94,12 @@ void GLSurfaceTestSupport::InitializeOneOffWithMockBindings() {
|
| InitializeOneOffImplementation(kGLImplementationMockGL, false);
|
| }
|
|
|
| +void GLSurfaceTestSupport::InitializeOneOffWithStubBindings() {
|
| +#if defined(USE_OZONE)
|
| + // This function skips where Ozone is otherwise initialized.
|
| + ui::OzonePlatform::InitializeForGPU();
|
| +#endif
|
| + InitializeOneOffImplementation(kGLImplementationStubGL, false);
|
| +}
|
| +
|
| } // namespace gl
|
|
|