Index: ui/gl/gl_surface_ozone.cc |
diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc |
index c5a285536ac0fd7ebf8fb284070e494b0eeb194e..186b9c9e266f66438efa6ff49a9861cc68e10894 100644 |
--- a/ui/gl/gl_surface_ozone.cc |
+++ b/ui/gl/gl_surface_ozone.cc |
@@ -685,24 +685,6 @@ scoped_refptr<GLSurface> CreateViewGLSurfaceOzoneSurfacelessSurfaceImpl( |
} // namespace |
// static |
-bool GLSurface::InitializeOneOffInternal() { |
- switch (GetGLImplementation()) { |
- case kGLImplementationEGLGLES2: |
- if (!GLSurfaceEGL::InitializeOneOff()) { |
- LOG(ERROR) << "GLSurfaceEGL::InitializeOneOff failed."; |
- return false; |
- } |
- |
- return true; |
- case kGLImplementationOSMesaGL: |
- case kGLImplementationMockGL: |
- return true; |
- default: |
- return false; |
- } |
-} |
- |
-// static |
scoped_refptr<GLSurface> GLSurface::CreateSurfacelessViewGLSurface( |
gfx::AcceleratedWidget window) { |
if (GetGLImplementation() == kGLImplementationEGLGLES2 && |