Index: ui/gl/gl_implementation_ozone.cc |
diff --git a/ui/gl/gl_implementation_ozone.cc b/ui/gl/gl_implementation_ozone.cc |
index 2564c1a5b49e16ec20a7c926e658c8ac2e92c98c..717c018ca52df72b10f4adc7f46dc064ef2a9653 100644 |
--- a/ui/gl/gl_implementation_ozone.cc |
+++ b/ui/gl/gl_implementation_ozone.cc |
@@ -17,30 +17,6 @@ void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) { |
impls->push_back(kGLImplementationOSMesaGL); |
} |
-bool InitializeDynamicGLBindings(GLImplementation implementation, |
- GLContext* context) { |
- switch (implementation) { |
- case kGLImplementationOSMesaGL: |
- 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 kGLImplementationEGLGLES2: |