Commit 6c6a223b authored by boliu's avatar boliu Committed by Commit bot

Fix DCHECK in GLFenceEGL

DCHECK was accidentally reversed in
crrev.com/0599e81b

Fix the DCHECK.

BUG=

Review URL: https://codereview.chromium.org/929583002

Cr-Commit-Position: refs/heads/master@{#316359}
parent a8c66a5d
......@@ -45,7 +45,7 @@ void GLFenceEGL::ClientWait() {
EGLTimeKHR time = EGL_FOREVER_KHR;
EGLint result = eglClientWaitSyncKHR(display_, sync_, flags, time);
DCHECK_IMPLIES(!g_ignore_egl_sync_failures,
EGL_TIMEOUT_EXPIRED_KHR == result);
EGL_TIMEOUT_EXPIRED_KHR != result);
if (result == EGL_FALSE) {
LOG(ERROR) << "Failed to wait for EGLSync. error:"
<< ui::GetLastEGLErrorString();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment