Index: ios/chrome/browser/tabs/tab.mm |
diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm |
index 132396c86b5ea1ec747ce85632491555f9bb3210..29e6c97cf7639d70992406f2fda3314575ef1aa7 100644 |
--- a/ios/chrome/browser/tabs/tab.mm |
+++ b/ios/chrome/browser/tabs/tab.mm |
@@ -1368,6 +1368,9 @@ |
} |
- (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. |