Index: ui/gl/gl_implementation_mac.cc |
diff --git a/ui/gl/gl_implementation_mac.cc b/ui/gl/gl_implementation_mac.cc |
index 25b0297d8f036533d0f4f7b8d4fb7e324ed5e852..2a8ab0dcbf84e9c4858db6156b6e4bb0368d5601 100644 |
--- a/ui/gl/gl_implementation_mac.cc |
+++ b/ui/gl/gl_implementation_mac.cc |
@@ -22,32 +22,6 @@ void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) { |
impls->push_back(kGLImplementationOSMesaGL); |
} |
-bool InitializeDynamicGLBindings(GLImplementation implementation, |
- GLContext* context) { |
- switch (implementation) { |
- case kGLImplementationOSMesaGL: |
- case kGLImplementationDesktopGL: |
- case kGLImplementationDesktopGLCoreProfile: |
- case kGLImplementationAppleGL: |
- 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) { |
return false; |
} |