Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / gl / gl_implementation_ozone.cc
index 3659a02..b8dd2c4 100644 (file)
@@ -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: