Index: ui/gl/gl_implementation_ozone.cc |
diff --git a/ui/gl/gl_implementation_ozone.cc b/ui/gl/gl_implementation_ozone.cc |
index 0d9fe6b310de1729ab641bb861b28ae5b1278567..61efdcb69a7852f7ab224deef8729fd68ca2b167 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: |