Index: ash/wm/toplevel_window_event_handler.cc |
diff --git a/ash/wm/toplevel_window_event_handler.cc b/ash/wm/toplevel_window_event_handler.cc |
index fad18a45c295816d324b4a9066eb160f4234cebc..c5fab2afc960a07a060d328b9282f66d8c8a48e9 100644 |
--- a/ash/wm/toplevel_window_event_handler.cc |
+++ b/ash/wm/toplevel_window_event_handler.cc |
@@ -383,7 +383,8 @@ aura::client::WindowMoveResult ToplevelWindowEventHandler::RunMoveLoop( |
drag_location = gfx::ToFlooredPoint(drag_location_f); |
DCHECK(has_point); |
} else { |
- drag_location = root_window->GetDispatcher()->GetLastMouseLocationInRoot(); |
+ drag_location = |
+ root_window->GetHost()->dispatcher()->GetLastMouseLocationInRoot(); |
aura::Window::ConvertPointToTarget( |
root_window, source->parent(), &drag_location); |
} |