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

Unified Diff: ios/chrome/browser/interstitials/ios_chrome_controller_client.mm

Issue 2742953003: created web::ReloadType (Closed)
Patch Set: Add TODO for ORIGINAL_REQUEST_URL 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
Index: ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
diff --git a/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm b/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
index 2d5658a03e48369a388bfe8a521816778794e92d..e346783f09ecb284859e031ec33d6e83cba0268e 100644
--- a/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
+++ b/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
@@ -11,6 +11,7 @@
#include "ios/chrome/browser/pref_names.h"
#include "ios/web/public/interstitials/web_interstitial.h"
#import "ios/web/public/navigation_manager.h"
+#include "ios/web/public/reload_type.h"
#include "ios/web/public/web_state/web_state.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -54,7 +55,7 @@
}
void IOSChromeControllerClient::Reload() {
- web_state_->GetNavigationManager()->Reload(true);
+ web_state_->GetNavigationManager()->Reload(web::ReloadType::NORMAL, true);
Eugene But (OOO till 7-30) 2017/03/11 00:33:36 Could you please add |true /*check_for_repost*/| i
liaoyuke 2017/03/13 16:40:06 Done.
}
void IOSChromeControllerClient::OpenUrlInCurrentTab(const GURL& url) {

Powered by Google App Engine
This is Rietveld 408576698