Fixed PageScrollState application.
commit257ab9111a9af7f8b2c428d2e589ae268b7be308
authorkkhorimoto <kkhorimoto@chromium.org>
Wed, 10 Jun 2015 22:36:33 +0000 (10 15:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Jun 2015 22:38:13 +0000 (10 22:38 +0000)
treeddbc7b69aeb065328dd97b056e364a3e04d44d93
parent7f0265b658026135a99835f0e9696e28158387f1
Fixed PageScrollState application.

This fixes the bug when the NavigationItem that owns the
PageScrollState being applied is deallocated before application
can occur.

BUG= 498361

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

Cr-Commit-Position: refs/heads/master@{#333821}
ios/web/public/web_state/page_scroll_state.h
ios/web/public/web_state/page_scroll_state.mm
ios/web/web_state/ui/crw_web_controller.mm