Index: ui/gl/gl_fence_egl.cc |
diff --git a/ui/gl/gl_fence_egl.cc b/ui/gl/gl_fence_egl.cc |
index 641b8c2e3fc6772cd467975b5031ee7bc5c6a042..ce6583d6325b2a739c7e8bbead139e0a2ea78267 100644 |
--- a/ui/gl/gl_fence_egl.cc |
+++ b/ui/gl/gl_fence_egl.cc |
@@ -44,8 +44,7 @@ void GLFenceEGL::ClientWait() { |
EGLint flags = 0; |
EGLTimeKHR time = EGL_FOREVER_KHR; |
EGLint result = eglClientWaitSyncKHR(display_, sync_, flags, time); |
- DCHECK_IMPLIES(!g_ignore_egl_sync_failures, |
- EGL_TIMEOUT_EXPIRED_KHR != result); |
+ DCHECK(g_ignore_egl_sync_failures || EGL_TIMEOUT_EXPIRED_KHR != result); |
if (result == EGL_FALSE) { |
LOG(ERROR) << "Failed to wait for EGLSync. error:" |
<< ui::GetLastEGLErrorString(); |