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.