Commit 30f445ae authored by Hans-Filip Elo's avatar Hans-Filip Elo Committed by Chromium LUCI CQ

Build fix for non-X11 and non-ozone builds

The file idle_linux.cc contains some precompiler macro statements for
non-X11 builds which assumes that the macro NOTREACHED from
base/notreached.h is available.

When not building with ozone or X11, this macro is not available. This
CL adds an include for non X11 builds so that builds not using ozone or
X11 succeeds.

Change-Id: I1092e4eb8fcab7c326a6e48ca8890b990d6a652a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593116Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#837590}
parent b4cda1fb
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
#if defined(USE_X11) #if defined(USE_X11)
#include "ui/base/x/x11_idle_query.h" #include "ui/base/x/x11_idle_query.h"
#include "ui/base/x/x11_screensaver_window_finder.h" #include "ui/base/x/x11_screensaver_window_finder.h"
#else
#include "base/notreached.h"
#endif #endif
#if defined(USE_OZONE) #if defined(USE_OZONE)
......
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