Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(914)

Unified Diff: ui/gl/init/gl_factory.cc

Issue 2037793002: Move GLContext creation from //ui/gl to //ui/gl/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gl_init
Patch Set: Change to scoped_refptr. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/init/BUILD.gn ('k') | ui/gl/init/gl_factory_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/init/gl_factory.cc
diff --git a/ui/gl/init/gl_factory.cc b/ui/gl/init/gl_factory.cc
index 666b0e5f07a5a0f9cc4883703cb56ccf8088fbdc..09aa9d1692c5a9410d787d517d4f608b81b0ad80 100644
--- a/ui/gl/init/gl_factory.cc
+++ b/ui/gl/init/gl_factory.cc
@@ -89,13 +89,6 @@ bool InitializeGLOneOffImplementation(GLImplementation impl,
// of each function should be moved into a platform specific file and the
// original static functions should be removed from GLSurface and GLContext.
-scoped_refptr<GLContext> CreateGLContext(GLShareGroup* share_group,
- GLSurface* compatible_surface,
- GpuPreference gpu_preference) {
- return GLContext::CreateGLContext(share_group, compatible_surface,
- gpu_preference);
-}
-
scoped_refptr<GLSurface> CreateViewGLSurface(gfx::AcceleratedWidget window) {
return GLSurface::CreateViewGLSurface(window);
}
« no previous file with comments | « ui/gl/init/BUILD.gn ('k') | ui/gl/init/gl_factory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698