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