
In iOS 17, when the Bookmarks UI is being shutdown, both the `BookmarksHomeViewController` and the `UISearchController` embedded inside the `BookmarksHomeViewController` dismissal functionality are being invoked. This double invocation is causing a crash because a property that has been set to null by the `BookmarksHomeViewController` dismissal function is being used in the `UISearchController` dismissal function. To get around this, `UISearchController` is being explicitly dismissed during the shutdown process. Change-Id: I4b6729401d3a3becd18156ad0ed35dce018a1565 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4650590 Commit-Queue: Daniel White <danieltwhite@google.com> Reviewed-by: Éric Noyau <noyau@chromium.org> Cr-Commit-Position: refs/heads/main@{#1164785}
This directory holds code related to Chrome for iOS. See this document for a description of the structure underneath this directory.