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

Unified Diff: ios/web/interstitials/web_interstitial_impl.mm

Issue 2742953003: created web::ReloadType (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/navigation/navigation_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/interstitials/web_interstitial_impl.mm
diff --git a/ios/web/interstitials/web_interstitial_impl.mm b/ios/web/interstitials/web_interstitial_impl.mm
index 4187248f05abc395d9c488a8ba14d1e31b82d500..30698e685af337157ee9d24329ae96206422b708 100644
--- a/ios/web/interstitials/web_interstitial_impl.mm
+++ b/ios/web/interstitials/web_interstitial_impl.mm
@@ -10,6 +10,7 @@
#import "ios/web/navigation/navigation_manager_impl.h"
#import "ios/web/public/interstitials/web_interstitial_delegate.h"
#import "ios/web/public/navigation_manager.h"
+#include "ios/web/public/reload_type.h"
#import "ios/web/web_state/web_state_impl.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -93,7 +94,7 @@
NSUserDefaults* user_defaults = [NSUserDefaults standardUserDefaults];
if (![user_defaults boolForKey:@"PendingIndexNavigationDisabled"]) {
// Reload last committed entry.
- nav_manager->Reload(true /* check_for_repost */);
+ nav_manager->Reload(ReloadType::NORMAL, true /* check_for_repost */);
}
delete this;
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/navigation/navigation_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698