Index: ui/gl/gl_implementation_win.cc |
diff --git a/ui/gl/gl_implementation_win.cc b/ui/gl/gl_implementation_win.cc |
index ddc9c57aed735219ddb7e8c73965c6cd0a2f97c7..526929723697012473d6926472f52400058a27c6 100644 |
--- a/ui/gl/gl_implementation_win.cc |
+++ b/ui/gl/gl_implementation_win.cc |
@@ -112,8 +112,7 @@ bool InitializeStaticGLBindings(GLImplementation implementation) { |
// Prevent reinitialization with a different implementation. Once the gpu |
// unit tests have initialized with kGLImplementationMock, we don't want to |
// later switch to another GL implementation. |
- if (GetGLImplementation() != kGLImplementationNone) |
- return true; |
+ DCHECK_EQ(kGLImplementationNone, GetGLImplementation()); |
// Allow the main thread or another to initialize these bindings |
// after instituting restrictions on I/O. Going forward they will |