Index: ui/gl/init/gl_factory.cc |
diff --git a/ui/gl/init/gl_factory.cc b/ui/gl/init/gl_factory.cc |
index bab99ea3ae0b5896f3bd1915c83332c0dcb68c43..85332096c0ae09b8c716fdd6b12b9e034627af01 100644 |
--- a/ui/gl/init/gl_factory.cc |
+++ b/ui/gl/init/gl_factory.cc |
@@ -83,5 +83,12 @@ bool InitializeGLOneOffImplementation(GLImplementation impl, |
return initialized; |
} |
+void ClearGLBindings() { |
+ ClearGLBindingsPlatform(); |
+ |
+ SetGLImplementation(kGLImplementationNone); |
+ UnloadGLNativeLibraries(); |
+} |
+ |
} // namespace init |
} // namespace gl |