Index: ui/gl/gl_implementation_ozone.cc |
diff --git a/ui/gl/gl_implementation_ozone.cc b/ui/gl/gl_implementation_ozone.cc |
index 3659a0235125868ba03a857841d817bce10453e3..b8dd2c4fc63f6d97292360b6d5760acdead0b3dc 100644 |
--- a/ui/gl/gl_implementation_ozone.cc |
+++ b/ui/gl/gl_implementation_ozone.cc |
@@ -37,8 +37,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()); |
switch (implementation) { |
case kGLImplementationOSMesaGL: |