-
Danyao Wang authored
This removes flicker in Omnibox that briefly exposes the internal URL when restoring session history. Virtual URL must be set on the pending item before calling |loadCurrentURLInWebView| because WebStateObserver::DidStartLoading event fires during this call, which triggers ToolbarModelDelegateIOS to update itself using the virtual URL of the pending item. Bug: 815248 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I260e251d90ad832120b908a61843fe30df261be3 Reviewed-on: https://chromium-review.googlesource.com/1003252 Commit-Queue: Danyao Wang <danyao@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#550184}
8ed28acc