summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_strip_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/tab_strip_controller.mm')
-rw-r--r--chrome/browser/cocoa/tab_strip_controller.mm8
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/cocoa/tab_strip_controller.mm b/chrome/browser/cocoa/tab_strip_controller.mm
index 930cc23..e721414 100644
--- a/chrome/browser/cocoa/tab_strip_controller.mm
+++ b/chrome/browser/cocoa/tab_strip_controller.mm
@@ -1400,9 +1400,8 @@ private:
// Insert it into this tab strip. We want it in the foreground and to not
// inherit the current tab's group.
- tabStripModel_->InsertTabContentsAt(
- modelIndex, contents,
- TabStripModel::ADD_SELECTED | (pinned ? TabStripModel::ADD_PINNED : 0));
+ tabStripModel_->InsertTabContentsAt(modelIndex, contents, true, false,
+ pinned);
}
// Called when the tab strip view changes size. As we only registered for
@@ -1641,8 +1640,7 @@ private:
UserMetrics::RecordAction(UserMetricsAction("Tab_DropURLBetweenTabs"),
browser_->profile());
browser_->AddTabWithURL(url, GURL(), PageTransition::TYPED, index,
- TabStripModel::ADD_SELECTED |
- TabStripModel::ADD_FORCE_INDEX,
+ Browser::ADD_SELECTED | Browser::ADD_FORCE_INDEX,
NULL, std::string());
break;
case CURRENT_TAB: