| Index: chrome/browser/browser_main.cc
|
| diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
|
| index f1e05cd20a86594ac4abbc2aec6d57463ee324b3..bc0504d92905c3f324992e4a0410408ee991898a 100644
|
| --- a/chrome/browser/browser_main.cc
|
| +++ b/chrome/browser/browser_main.cc
|
| @@ -201,7 +201,7 @@
|
| #include "ui/gfx/gtk_util.h"
|
| #endif
|
|
|
| -#if defined(TOUCH_UI) && defined(HAVE_XINPUT2)
|
| +#if defined(TOUCH_UI)
|
| #include "views/touchui/touch_factory.h"
|
| #endif
|
|
|
| @@ -1783,7 +1783,7 @@ int BrowserMain(const MainFunctionParams& parameters) {
|
| }
|
| #endif
|
|
|
| -#if defined(TOUCH_UI) && defined(HAVE_XINPUT2)
|
| +#if defined(TOUCH_UI)
|
| views::TouchFactory::GetInstance()->set_keep_mouse_cursor(
|
| CommandLine::ForCurrentProcess()->HasSwitch(switches::kKeepMouseCursor));
|
| #endif
|
|
|