Use |-restoreStateFromHistory| in PageScrollState unittests.
commitb3f45ea6baa894047bedcf8bd8d166e4a3a22470
authorkkhorimoto <kkhorimoto@chromium.org>
Thu, 11 Jun 2015 23:26:30 +0000 (11 16:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Jun 2015 23:28:10 +0000 (11 23:28 +0000)
tree118d5940addcbc73d9e1193ac8c186dedec0f0ca
parentf49c796d6fbf794f73f55302a1aed6cf6257a044
Use |-restoreStateFromHistory| in PageScrollState unittests.

This fixes test failures introduced by
https://codereview.chromium.org/1163403005/ where PageScrollState
tests would hang since the applied scroll state didn't match the
current navigation item's.

BUG= 493427

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

Cr-Commit-Position: refs/heads/master@{#334072}
ios/web/web_state/ui/crw_web_controller_unittest.mm