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

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2378123002: Load offline page if reading list entry takes more than 1s to load. (Closed)
Patch Set: Experimental change (reviewers: do not review this PS). Created 4 years, 2 months 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
Index: ios/web/web_state/ui/crw_web_controller.mm
diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
index acbcdec9afb5e9a9e36c068669c3e0e43ebde7cc..683020a278e0b47d0c6e062d8be6f6922b205e28 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -1989,6 +1989,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
addedItem->SetPostData(params.post_data);
addedItem->SetShouldSkipResubmitDataConfirmation(true);
}
+ addedItem->extra_data_.reset([originalParams.extra_data retain]);
}
[_delegate webDidUpdateSessionForLoadWithParams:params

Powered by Google App Engine
This is Rietveld 408576698