From 2ee21c0f84fdc391ab1f35673d1d5d08aeddbf96 Mon Sep 17 00:00:00 2001 From: Nobody Date: Tue, 17 Sep 2024 09:06:23 -0700 Subject: [PATCH] Call `super`'s `viewDidLayoutSubviews`. PiperOrigin-RevId: 675590036 --- components/Dialogs/src/MDCAlertController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Dialogs/src/MDCAlertController.m b/components/Dialogs/src/MDCAlertController.m index 6dc47b86bc3..2edf6cbf51e 100644 --- a/components/Dialogs/src/MDCAlertController.m +++ b/components/Dialogs/src/MDCAlertController.m @@ -736,6 +736,7 @@ - (void)viewDidDisappear:(BOOL)animated { } - (void)viewDidLayoutSubviews { + [super viewDidLayoutSubviews]; // Increments the counter to account for an additional layout pass. self.layoutPassCounter += 1; // Abort if the layout pass counter is too high.