diff --git a/modules/desktop_capture/mouse_cursor_monitor_unittest.cc b/modules/desktop_capture/mouse_cursor_monitor_unittest.cc index 739fa863f5..ee2dff32af 100644 --- a/modules/desktop_capture/mouse_cursor_monitor_unittest.cc +++ b/modules/desktop_capture/mouse_cursor_monitor_unittest.cc @@ -52,10 +52,9 @@ class MouseCursorMonitorTest : public ::testing::Test, // // Disabled on Windows due to flake, see: // https://code.google.com/p/webrtc/issues/detail?id=3408 -// -// Enabled on Linux only when building with X11 support. -#if !defined(WEBRTC_MAC) && !defined(WEBRTC_WIN) && \ - !(defined(WEBRTC_LINUX) && !defined(WEBRTC_USE_X11)) +// Disabled on Linux due to flake, see: +// https://code.google.com/p/webrtc/issues/detail?id=3245 +#if !defined(WEBRTC_MAC) && !defined(WEBRTC_WIN) && !defined(WEBRTC_LINUX) #define MAYBE(x) x #else #define MAYBE(x) DISABLED_##x