diff --git a/tests/cefsimple/simple_handler_linux.cpp b/tests/cefsimple/simple_handler_linux.cpp index a1e04e15e..907d63863 100644 --- a/tests/cefsimple/simple_handler_linux.cpp +++ b/tests/cefsimple/simple_handler_linux.cpp @@ -22,7 +22,7 @@ void SimpleHandler::OnTitleChange(CefRefPtr browser, // Retrieve the X11 window handle for the browser. ::Window window = browser->GetHost()->GetWindowHandle(); - DCHECK_NE(window, kNullWindowHandle); + DCHECK(window != kNullWindowHandle); // Retrieve the atoms required by the below XChangeProperty call. const char* kAtoms[] = {