Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1861)

Unified Diff: android_webview/native/state_serializer.cc

Issue 11428070: Some required fixes for HTMLViewer rotate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix title callback. Merge new test intol existing title test. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
// |web_contents| takes ownership of these entries after this call.
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698