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

Unified Diff: ios/chrome/browser/ui/reading_list/offline_page_native_content.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/ui/reading_list/offline_page_native_content.mm
diff --git a/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm b/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm
index 53c4b8adfd7fcb07a5443575583ba051514ec870..bde35bcee6d41f14705ae00180b4e53da1d0255c 100644
--- a/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm
+++ b/ios/chrome/browser/ui/reading_list/offline_page_native_content.mm
@@ -15,6 +15,7 @@
#include "ios/web/public/browser_state.h"
#import "ios/web/public/navigation_item.h"
#import "ios/web/public/navigation_manager.h"
+#include "ios/web/public/reload_type.h"
#import "ios/web/public/web_state/web_state.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -88,7 +89,7 @@ - (GURL)virtualURL {
- (void)reload {
[self restoreOnlineURL];
- _webState->GetNavigationManager()->Reload(false);
+ _webState->GetNavigationManager()->Reload(web::ReloadType::NORMAL, false);
Eugene But (OOO till 7-30) 2017/03/11 00:33:36 ditto
liaoyuke 2017/03/13 16:40:06 Done.
}
- (void)restoreOnlineURL {

Powered by Google App Engine
This is Rietveld 408576698