| 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..8f7ccee0addb73d866b3982a15fff15ce2b5129d 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();
|
|
|