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

Unified Diff: ios/chrome/browser/tabs/tab.mm

Issue 2811073005: Replace requirePageReconstruction with setCustomUserAgent (Closed)
Patch Set: Created 3 years, 8 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/tabs/tab.mm
diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
index 29e6c97cf7639d70992406f2fda3314575ef1aa7..132396c86b5ea1ec747ce85632491555f9bb3210 100644
--- a/ios/chrome/browser/tabs/tab.mm
+++ b/ios/chrome/browser/tabs/tab.mm
@@ -1368,9 +1368,6 @@ - (BOOL)usesDesktopUserAgent {
}
- (void)reloadWithUserAgentType:(web::UserAgentType)userAgentType {
- // This removes the web view, which will be recreated at the end of this.
- [self.webController requirePageReconstruction];
Eugene But (OOO till 7-30) 2017/04/12 18:22:02 Cool. Can you make this method private for CRWWebC
liaoyuke 2017/04/12 19:17:59 Done.
-
// TODO(crbug.com/228171): A hack in session_controller -addPendingItem
// discusses making tab responsible for distinguishing history stack
// navigation from new navigations.
« no previous file with comments | « no previous file | ios/web/web_state/ui/crw_web_controller.mm » ('j') | ios/web/web_state/ui/crw_web_controller.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698