0

Convert superclass Layout() calls to LayoutSuperclass<>(): docs/

Direct access to Layout() is being deprecated; this is the blessed way
to invoke it for this use case.

Bug: 1521108
Change-Id: Iae98dea60469f4a8279c5501bf6cb1f3defc594f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5244024
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Allen Bauer <kylixrd@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1253606}
This commit is contained in:
Peter Kasting
2024-01-29 23:05:39 +00:00
committed by Chromium LUCI CQ
parent 4f1c37ef48
commit 8e6535e64d

@ -831,7 +831,7 @@ FindBarView::FindBarView(FindBarHost* host)
}
void FindBarView::Layout() {
views::View::Layout();
LayoutSuperclass<views::View>(this);
// The focus forwarder view is a hidden view that
// should cover the area between the find text box
// and the find button so that when the user clicks