Index: ui/gl/gl_implementation_win.cc |
diff --git a/ui/gl/gl_implementation_win.cc b/ui/gl/gl_implementation_win.cc |
index 9a470c9198576509dff00423351328484934455b..b5f8a744260bac7a8150aa551c59624d7fea4ed5 100644 |
--- a/ui/gl/gl_implementation_win.cc |
+++ b/ui/gl/gl_implementation_win.cc |
@@ -18,31 +18,6 @@ void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) { |
impls->push_back(kGLImplementationOSMesaGL); |
} |
-bool InitializeDynamicGLBindings(GLImplementation implementation, |
- GLContext* context) { |
- switch (implementation) { |
- case kGLImplementationOSMesaGL: |
- case kGLImplementationEGLGLES2: |
- case kGLImplementationDesktopGL: |
- 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: |