Make bloated renderer infobar showing logic more robust.
This CL fixes a potential race when the user starts navigation at the same time as the bloated renderer is being reloaded. The race may cause the infobar to be shown on user navigation, which is misleading. Now the navigation id is saved for the bloated renderer reload and later on it is matched with the navigation id provided to the DidFinishNavigation event. The infobar is shown only if the ids match. Bug: 808143 Change-Id: I1e3c37e565e1434b6ab5557df44281fb418c6e12 Reviewed-on: https://chromium-review.googlesource.com/1106619 Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Reviewed-by:Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#572589}
Showing
Please register or sign in to comment