commit | 37db17fa2230fb0645bec12bcb841b305bce7d30 | [log] [tgz] |
---|---|---|
author | Justin Cohen <justincohen@google.com> | Wed Mar 13 18:37:11 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 13 18:37:11 2019 |
tree | b5494e9ce48e69a4f449cbbcec44525613e9eb42 | |
parent | 9d7d48b2be45fd336fd8317ad6e732d39fcedf77 [diff] |
[ios] Validate PendingItem when updating NavigationItem in NTP helper. GetPendingItem() may not return the NavigationItem associated with a NavigationContext in some rare circumstances. Instead, validate that the item is indeed an NTP about://newtab URL, and update the page again on -DidFinishNavigation. Bug: 941245 Change-Id: I4e10091259dc4438b2e33e3c50e6b60a8e2f1fd3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1520699 Commit-Queue: Justin Cohen <justincohen@chromium.org> Reviewed-by: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#640420}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .