| Index: ui/gl/gl_surface_x11.cc
|
| diff --git a/ui/gl/gl_surface_x11.cc b/ui/gl/gl_surface_x11.cc
|
| index 0b5f2afd795bb6d55f661596a8ddf16ce117240a..916e9a009db1a298027fe8cb7b746b86640f2880 100644
|
| --- a/ui/gl/gl_surface_x11.cc
|
| +++ b/ui/gl/gl_surface_x11.cc
|
| @@ -22,37 +22,6 @@
|
|
|
| namespace gl {
|
|
|
| -namespace {
|
| -
|
| -} // namespace
|
| -
|
| -bool GLSurface::InitializeOneOffInternal() {
|
| - switch (GetGLImplementation()) {
|
| - case kGLImplementationDesktopGL:
|
| - if (!GLSurfaceGLX::InitializeOneOff()) {
|
| - LOG(ERROR) << "GLSurfaceGLX::InitializeOneOff failed.";
|
| - return false;
|
| - }
|
| - break;
|
| - case kGLImplementationOSMesaGL:
|
| - if (!GLSurfaceOSMesaX11::InitializeOneOff()) {
|
| - LOG(ERROR) << "GLSurfaceOSMesaX11::InitializeOneOff failed.";
|
| - return false;
|
| - }
|
| - break;
|
| - case kGLImplementationEGLGLES2:
|
| - if (!GLSurfaceEGL::InitializeOneOff()) {
|
| - LOG(ERROR) << "GLSurfaceEGL::InitializeOneOff failed.";
|
| - return false;
|
| - }
|
| - break;
|
| - default:
|
| - break;
|
| - }
|
| -
|
| - return true;
|
| -}
|
| -
|
| scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
|
| gfx::AcceleratedWidget window) {
|
| TRACE_EVENT0("gpu", "GLSurface::CreateViewGLSurface");
|
|
|