| Index: ui/gl/gl_surface_android.cc
|
| diff --git a/ui/gl/gl_surface_android.cc b/ui/gl/gl_surface_android.cc
|
| index c371e69454bfa93967c656caf53eb331a04db75a..6480927a5296ab073687efd52ca13808cf9ffa4d 100644
|
| --- a/ui/gl/gl_surface_android.cc
|
| +++ b/ui/gl/gl_surface_android.cc
|
| @@ -16,20 +16,6 @@
|
| namespace gl {
|
|
|
| // static
|
| -bool GLSurface::InitializeOneOffInternal() {
|
| - switch (GetGLImplementation()) {
|
| - case kGLImplementationEGLGLES2:
|
| - if (!GLSurfaceEGL::InitializeOneOff()) {
|
| - LOG(ERROR) << "GLSurfaceEGL::InitializeOneOff failed.";
|
| - return false;
|
| - }
|
| - default:
|
| - break;
|
| - }
|
| - return true;
|
| -}
|
| -
|
| -// static
|
| scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
|
| gfx::AcceleratedWidget window) {
|
| CHECK_NE(kGLImplementationNone, GetGLImplementation());
|
|
|