FrameLoader: call CommitNavigation directly from StartNavigation...

in the case of kNavigationPolicyCurrentTab policy. That happens
in a number of cases: loading mhtml archive, about:srcdoc, about:blank,
empty url, renderer debug urls, urls with chrome-native:
or about: scheme.

It would be ideal to get rid of this behavior, but that requires
some investigation. For now, we'll just make it explicit by calling
CommitNavigation from RenderFrameImpl. As a first step, switching
to CommitNavigation in FrameLoader.

Bug: 855189
Change-Id: Id1c5b00c8294b1890a60703f966e5134c5720380
Reviewed-on: https://chromium-review.googlesource.com/1232202
Commit-Queue: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#593294}
1 file changed