Index: components/exo/shell_surface.cc |
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc |
index 06c277d2b644693846f47f9f7e80cee1a638d89e..c3d05e144a7b6a79e3e7b83f695149fc4693da4b 100644 |
--- a/components/exo/shell_surface.cc |
+++ b/components/exo/shell_surface.cc |
@@ -1099,7 +1099,7 @@ gfx::Rect ShellSurface::GetVisibleBounds() const { |
} |
gfx::Point ShellSurface::GetSurfaceOrigin() const { |
- gfx::Rect window_bounds = widget_->GetNativeWindow()->bounds(); |
+ gfx::Rect window_bounds = widget_->GetWindowBoundsInScreen(); |
// If initial bounds were specified then surface origin is always relative |
// to those bounds. |