Index: ui/gl/gl_implementation_osmesa.cc |
diff --git a/ui/gl/gl_implementation_osmesa.cc b/ui/gl/gl_implementation_osmesa.cc |
index 90de6909b91285bf5eff751ad589d6d1ef87e4e3..30ba3f8fd537d08f9cc342a1fc58c98845b02351 100644 |
--- a/ui/gl/gl_implementation_osmesa.cc |
+++ b/ui/gl/gl_implementation_osmesa.cc |
@@ -15,21 +15,6 @@ |
namespace gfx { |
-base::NativeLibrary LoadLibraryAndPrintError(const base::FilePath& filename) { |
- base::NativeLibraryLoadError error; |
- base::NativeLibrary library = base::LoadNativeLibrary(filename, &error); |
- if (!library) { |
- LOG(ERROR) << "Failed to load " << filename.MaybeAsASCII() << ": " |
- << error.ToString(); |
- return NULL; |
- } |
- return library; |
-} |
- |
-base::NativeLibrary LoadLibraryAndPrintError(const char* filename) { |
- return LoadLibraryAndPrintError(base::FilePath(filename)); |
-} |
- |
bool InitializeStaticGLBindingsOSMesaGL() { |
base::FilePath module_path; |
if (!PathService::Get(base::DIR_MODULE, &module_path)) { |