| Index: components/exo/shell_surface.cc
|
| diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
|
| index 4555dda5ac44b0aca4a82632cf28e759cfd8c991..a7f298200fc8c3672de30cfff9b1035a70717df5 100644
|
| --- a/components/exo/shell_surface.cc
|
| +++ b/components/exo/shell_surface.cc
|
| @@ -897,7 +897,7 @@ gfx::Rect ShellSurface::GetVisibleBounds() const {
|
| }
|
|
|
| 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.
|
|
|