[iOS] Fix NTP positioning with multiwindow
This CL makes sure that the correct trait collection is used when checking if the NTP is displaying one or two toolbars. With multiwindow, it is not possible to directly check the key window. Fixed: 1128527 Change-Id: I79a441b1a186c755b7cc979f527e807f10aa3a29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422955 Commit-Queue: Gauthier Ambard <gambard@chromium.org> Reviewed-by:Stepan Khapugin <stkhapugin@chromium.org> Cr-Commit-Position: refs/heads/master@{#809718}
Showing
Please register or sign in to comment