Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index d443d622df499b4dc3711c74ee421e65158cb584..5fe70da8f69eda6b121d0f1133e2193492c69761 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -166,6 +166,10 @@ void RootWindow::SetHostBounds(const gfx::Rect& bounds) { |
synthesize_mouse_move_ = false; |
} |
+gfx::Point RootWindow::GetHostOrigin() const { |
+ return host_->GetBounds().origin(); |
+} |
+ |
void RootWindow::SetCursor(gfx::NativeCursor cursor) { |
last_cursor_ = cursor; |
// A lot of code seems to depend on NULL cursors actually showing an arrow, |