commit | 9d9f6c6befc0d45ace8fecf1c5033071a6ab1583 | [log] [tgz] |
---|---|---|
author | Abhijeet Kandalkar <abhijeet@igalia.com> | Mon Aug 09 16:54:29 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 09 16:54:29 2021 |
tree | a71fe588e7b4dc0acd613e41c590e8bc495438bb | |
parent | 9ca8ec48e83a84dfc26313ab8c1fd8a11a9f4e85 [diff] |
Code cleanup Change-Id: I0b40544320a16e46ad36d90309d6fd9510c7d47b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3075979 Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com> Cr-Commit-Position: refs/heads/master@{#909833}
diff --git a/components/exo/client_controlled_shell_surface.cc b/components/exo/client_controlled_shell_surface.cc index 323d691..c25cf64 100644 --- a/components/exo/client_controlled_shell_surface.cc +++ b/components/exo/client_controlled_shell_surface.cc
@@ -1119,7 +1119,7 @@ const { const ash::NonClientFrameViewAsh* frame_view = GetFrameView(); if (frame_view->GetFrameEnabled()) { - gfx::Rect visible_bounds = ShellSurfaceBase::GetVisibleBounds(); + gfx::Rect visible_bounds = GetVisibleBounds(); if (widget_->IsMaximized() && frame_type_ == SurfaceFrameType::NORMAL) { // When the widget is maximized in clamshell mode, client sends // |geometry_| without taking caption height into account.