Index: ui/gl/gl_surface_x11.cc |
diff --git a/ui/gl/gl_surface_x11.cc b/ui/gl/gl_surface_x11.cc |
index 63b0e96ab69ac0d97caa4c936e798a4ca4aef9f1..a384147cb2feb188cd3b3acde518f308e70b8511 100644 |
--- a/ui/gl/gl_surface_x11.cc |
+++ b/ui/gl/gl_surface_x11.cc |
@@ -52,7 +52,6 @@ |
bool GLSurface::InitializeOneOffInternal() { |
switch (GetGLImplementation()) { |
case kGLImplementationDesktopGL: |
- case kGLImplementationDesktopGLCoreProfile: |
if (!GLSurfaceGLX::InitializeOneOff()) { |
LOG(ERROR) << "GLSurfaceGLX::InitializeOneOff failed."; |
return false; |
@@ -284,8 +283,7 @@ |
return surface; |
} |
- case kGLImplementationDesktopGL: |
- case kGLImplementationDesktopGLCoreProfile: { |
+ case kGLImplementationDesktopGL: { |
scoped_refptr<GLSurface> surface(new NativeViewGLSurfaceGLX(window)); |
if (!surface->Initialize()) |
return NULL; |
@@ -320,8 +318,7 @@ |
return surface; |
} |
- case kGLImplementationDesktopGL: |
- case kGLImplementationDesktopGLCoreProfile: { |
+ case kGLImplementationDesktopGL: { |
scoped_refptr<GLSurface> surface(new PbufferGLSurfaceGLX(size)); |
if (!surface->Initialize()) |
return NULL; |