Don't clear the forward history when replacing entries.
commitee17e93a2684e2420ab932432edce920b3355a8e
authorcreis <creis@chromium.org>
Fri, 17 Jul 2015 17:56:22 +0000 (17 10:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Jul 2015 17:57:08 +0000 (17 17:57 +0000)
treeb96fa1c5dcb21298af69571b0c80153ff5c3a2c0
parent5ad01a654b3aef2391dfe3b387af11a88e0d34b1
Don't clear the forward history when replacing entries.

This is a prerequisite to fixing the classification of location.replace,
which should generate a new NavigationEntry and not update the old one
in place.

BUG=317872
TEST=Forward history still in place after cross-process location.replace.

Review URL: https://codereview.chromium.org/1245433002

Cr-Commit-Position: refs/heads/master@{#339281}
content/browser/frame_host/navigation_controller_impl.cc
content/browser/frame_host/navigation_controller_impl_browsertest.cc