Index: ui/gl/gl_implementation_x11.cc |
diff --git a/ui/gl/gl_implementation_x11.cc b/ui/gl/gl_implementation_x11.cc |
index de19d7167a2d74a2695fd53dea3d344c92a7cbbb..a59ee34284443b12a39c8d84d8ede9939b92595a 100644 |
--- a/ui/gl/gl_implementation_x11.cc |
+++ b/ui/gl/gl_implementation_x11.cc |
@@ -19,31 +19,6 @@ void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) { |
impls->push_back(kGLImplementationOSMesaGL); |
} |
-bool InitializeDynamicGLBindings(GLImplementation implementation, |
- GLContext* context) { |
- switch (implementation) { |
- case kGLImplementationOSMesaGL: |
- case kGLImplementationDesktopGL: |
- case kGLImplementationEGLGLES2: |
- InitializeDynamicGLBindingsGL(context); |
- break; |
- case kGLImplementationMockGL: |
- if (!context) { |
- scoped_refptr<GLContextStubWithExtensions> mock_context( |
- new GLContextStubWithExtensions()); |
- mock_context->SetGLVersionString("3.0"); |
- InitializeDynamicGLBindingsGL(mock_context.get()); |
- } else { |
- InitializeDynamicGLBindingsGL(context); |
- } |
- break; |
- default: |
- return false; |
- } |
- |
- return true; |
-} |
- |
bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) { |
switch (GetGLImplementation()) { |
case kGLImplementationDesktopGL: |