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

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

Issue 2822003002: Re-land "Replace requirePageReconstruction with setCustomUserAgent" (Closed)
Patch Set: fix 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
« no previous file with comments | « no previous file | ios/web/web_state/ui/crw_web_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/tabs/tab.mm
diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
index a574e6c599aff00dd3120e49898b8cd6c895aff9..f6f011d742bfa9577270f0731f6c5b52309244e5 100644
--- a/ios/chrome/browser/tabs/tab.mm
+++ b/ios/chrome/browser/tabs/tab.mm
@@ -1377,9 +1377,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];
-
// 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.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698