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 314f9c390f84590c3aae994a855e5bf760071bb7..70412d33546cb81bf87b47e25d8fb223fe4d2c3a 100644 |
--- a/ui/aura/remote_window_tree_host_win.cc |
+++ b/ui/aura/remote_window_tree_host_win.cc |
@@ -414,20 +414,6 @@ void RemoteWindowTreeHostWin::SetCapture() { |
void RemoteWindowTreeHostWin::ReleaseCapture() { |
} |
-bool RemoteWindowTreeHostWin::QueryMouseLocation(gfx::Point* location_return) { |
- aura::client::CursorClient* cursor_client = |
- aura::client::GetCursorClient(window()); |
- if (cursor_client && !cursor_client->IsMouseEventsEnabled()) { |
- *location_return = gfx::Point(0, 0); |
- return false; |
- } |
- POINT pt; |
- GetCursorPos(&pt); |
- *location_return = |
- gfx::Point(static_cast<int>(pt.x), static_cast<int>(pt.y)); |
- return true; |
-} |
- |
void RemoteWindowTreeHostWin::SetCursorNative(gfx::NativeCursor native_cursor) { |
if (!host_) |
return; |