Index: ui/gl/init/gl_factory.cc |
diff --git a/ui/gl/init/gl_factory.cc b/ui/gl/init/gl_factory.cc |
index 0cade4082c907f5d50da62f72316cb234ccef29c..dff751b2c798da1c1717eadfb2d693a6b3a51337 100644 |
--- a/ui/gl/init/gl_factory.cc |
+++ b/ui/gl/init/gl_factory.cc |
@@ -89,5 +89,9 @@ void ShutdownGL() { |
UnloadGLNativeLibraries(); |
} |
+scoped_refptr<GLSurface> CreateOffscreenGLSurface(const gfx::Size& size) { |
+ return CreateOffscreenGLSurfaceWithFormat(size, GLSurfaceFormat()); |
+} |
+ |
} // namespace init |
} // namespace gl |