| Index: ui/aura/window.cc
|
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc
|
| index bd9f023042f3a139e5aca0da7398ee76fc94e8e9..0b848e9fb50811cb0055df3b95d22f5ee0bc7a1a 100644
|
| --- a/ui/aura/window.cc
|
| +++ b/ui/aura/window.cc
|
| @@ -67,8 +67,7 @@ class ScopedCursorHider {
|
| client::CursorClient* cursor_client = client::GetCursorClient(window_);
|
| if (cursor_client) {
|
| const gfx::Display& display =
|
| - gfx::Screen::GetScreenFor(window_)->GetDisplayNearestWindow(
|
| - window_);
|
| + gfx::Screen::GetScreen()->GetDisplayNearestWindow(window_);
|
| cursor_client->SetDisplay(display);
|
| cursor_client->ShowCursor();
|
| }
|
|
|