Index: ui/aura/remote_window_tree_host_win.cc |
diff --git a/ui/aura/remote_window_tree_host_win.cc b/ui/aura/remote_window_tree_host_win.cc |
index 3fe87b7418a18fa72d1c33886cda865d789d4626..92a37c2ffcb275a8564a98600529259a873f19bf 100644 |
--- a/ui/aura/remote_window_tree_host_win.cc |
+++ b/ui/aura/remote_window_tree_host_win.cc |
@@ -369,7 +369,7 @@ bool RemoteWindowTreeHostWin::IsForegroundWindow() { |
} |
Window* RemoteWindowTreeHostWin::GetAshWindow() { |
- return GetDispatcher()->window(); |
+ return window(); |
} |
gfx::AcceleratedWidget RemoteWindowTreeHostWin::GetAcceleratedWidget() { |
@@ -421,7 +421,7 @@ void RemoteWindowTreeHostWin::ReleaseCapture() { |
bool RemoteWindowTreeHostWin::QueryMouseLocation(gfx::Point* location_return) { |
aura::client::CursorClient* cursor_client = |
- aura::client::GetCursorClient(GetDispatcher()->window()); |
+ aura::client::GetCursorClient(window()); |
if (cursor_client && !cursor_client->IsMouseEventsEnabled()) { |
*location_return = gfx::Point(0, 0); |
return false; |