| Index: ui/aura/window_tree_host_win.cc
|
| diff --git a/ui/aura/window_tree_host_win.cc b/ui/aura/window_tree_host_win.cc
|
| index 2d592e5dfbe0ad84fcb06b8f8b113cb82123d6f8..33d50e6214f7a00d92b3505131cb85b1b7bbdb33 100644
|
| --- a/ui/aura/window_tree_host_win.cc
|
| +++ b/ui/aura/window_tree_host_win.cc
|
| @@ -170,8 +170,7 @@ void WindowTreeHostWin::ReleaseCapture() {
|
| }
|
|
|
| bool WindowTreeHostWin::QueryMouseLocation(gfx::Point* location_return) {
|
| - client::CursorClient* cursor_client =
|
| - client::GetCursorClient(GetDispatcher()->window());
|
| + client::CursorClient* cursor_client = client::GetCursorClient(window());
|
| if (cursor_client && !cursor_client->IsMouseEventsEnabled()) {
|
| *location_return = gfx::Point(0, 0);
|
| return false;
|
|
|