| Index: ash/host/ash_window_tree_host_x11.cc
|
| diff --git a/ash/host/ash_window_tree_host_x11.cc b/ash/host/ash_window_tree_host_x11.cc
|
| index 50e29a4bc8d0c749cfe5e449f475f26096ca5b89..c6ae8b4ccb58bffc7a99c396644f3695f39149f4 100644
|
| --- a/ash/host/ash_window_tree_host_x11.cc
|
| +++ b/ash/host/ash_window_tree_host_x11.cc
|
| @@ -218,7 +218,7 @@ bool AshWindowTreeHostX11::CanDispatchEvent(const ui::PlatformEvent& event) {
|
| !bounds().Contains(ui::EventLocationFromNative(xev)))
|
| return false;
|
| } else {
|
| - gfx::Screen* screen = gfx::Screen::GetScreenFor(window());
|
| + gfx::Screen* screen = gfx::Screen::GetScreen();
|
| gfx::Display display = screen->GetDisplayNearestWindow(window());
|
| return touch_display_id == display.id();
|
| }
|
|
|