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

Unified Diff: ios/chrome/browser/ui/browser_view_controller.mm

Issue 2677263002: Remove unused parameter for -replaceTab:withTab:keepOldTabOpen:. (Closed)
Patch Set: Fix comment. Created 3 years, 10 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 | « ios/chrome/browser/tabs/tab_model.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/browser_view_controller.mm
diff --git a/ios/chrome/browser/ui/browser_view_controller.mm b/ios/chrome/browser/ui/browser_view_controller.mm
index 830c37820422ddaea14e7ed23db9deca4b86ee3a..d5238b394fdc49bfebb0cc48ccba83aa93ea9699 100644
--- a/ios/chrome/browser/ui/browser_view_controller.mm
+++ b/ios/chrome/browser/ui/browser_view_controller.mm
@@ -3683,7 +3683,7 @@ class BrowserBookmarkModelBridge : public bookmarks::BookmarkModelObserver {
[newHistory insertStateFromSessionController:oldHistory];
[[newTab nativeAppNavigationController]
copyStateFrom:[oldTab nativeAppNavigationController]];
- [_model replaceTab:oldTab withTab:newTab keepOldTabOpen:NO];
+ [_model replaceTab:oldTab withTab:newTab];
// Set isPrerenderTab to NO after replacing the tab. This will allow the
// BrowserViewController to detect that a pre-rendered tab is switched in,
« no previous file with comments | « ios/chrome/browser/tabs/tab_model.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698