Commit b2e3ad14 authored by Justin Cohen's avatar Justin Cohen Committed by Commit Bot

Fix omnibox popup on iPhone X screen rotation.

Bug: 784841, 786552
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I9469e3b2d69135ff7e39977ef0f50b7cb4ac72a4
Reviewed-on: https://chromium-review.googlesource.com/777585Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517821}
parent b275afe6
...@@ -2311,6 +2311,14 @@ using ios::material::TimingFunction; ...@@ -2311,6 +2311,14 @@ using ios::material::TimingFunction;
} }
} }
- (void)viewDidLayoutSubviews {
[super viewDidLayoutSubviews];
// The popup positions itself as a static frame below the web toolbar. This
// will no longer be necessary post omnibox popup boxing.
_popupView->UpdatePopupAppearance();
}
@end @end
#pragma mark - Testing only. #pragma mark - Testing only.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment