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