Chromium Code Reviews| Index: android_webview/native/state_serializer.cc |
| diff --git a/android_webview/native/state_serializer.cc b/android_webview/native/state_serializer.cc |
| index 84827697fd1d1ae47dd38973b27ab4586e32da47..656b2d03dec29e1257ef0e50c24462d1a9888740 100644 |
| --- a/android_webview/native/state_serializer.cc |
| +++ b/android_webview/native/state_serializer.cc |
| @@ -98,6 +98,8 @@ bool RestoreFromPickle(PickleIterator* iterator, |
| if (!internal::RestoreNavigationEntryFromPickle(iterator, |
| restored_entries[i])) |
| return false; |
| + |
| + restored_entries[i]->SetPageID(i); |
|
joth
2012/11/29 05:56:14
should we be storing GetPageID in saveState and r
boliu
2012/11/29 06:14:03
PageID is incrementing counter in NavigationContro
|
| } |
| // |web_contents| takes ownership of these entries after this call. |