Convert superclass Layout() calls to LayoutSuperclass<>(): ash/
Direct access to Layout() is being deprecated; this is the blessed way
to invoke it for this use case.
Bug: 1521108
Change-Id: Iba16ab06e1ec21a2a1faf46abae650ba25e75259
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5246050
Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1253626}
diff --git a/ash/system/phonehub/task_continuation_view.cc b/ash/system/phonehub/task_continuation_view.cc
index 554a0779..40fefde8 100644
--- a/ash/system/phonehub/task_continuation_view.cc
+++ b/ash/system/phonehub/task_continuation_view.cc
@@ -123,7 +123,7 @@
}
void TaskContinuationView::TaskChipsView::Layout() {
- views::View::Layout();
+ LayoutSuperclass<views::View>(this);
CalculateIdealBounds();
for (size_t i = 0; i < task_chips_.view_size(); ++i) {
auto* button = task_chips_.view_at(i);