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