summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos')
-rw-r--r--chrome/browser/chromeos/compact_navigation_bar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/compact_navigation_bar.cc b/chrome/browser/chromeos/compact_navigation_bar.cc
index aeb36e2..6dcbeab 100644
--- a/chrome/browser/chromeos/compact_navigation_bar.cc
+++ b/chrome/browser/chromeos/compact_navigation_bar.cc
@@ -285,7 +285,7 @@ void CompactNavigationBar::AddTabWithURL(const GURL& url,
switch (StatusAreaView::GetOpenTabsMode()) {
case StatusAreaView::OPEN_TABS_ON_LEFT: {
// Add the new tab at the first non-pinned location.
- int index = browser->tabstrip_model()->IndexOfFirstNonAppTab();
+ int index = browser->tabstrip_model()->IndexOfFirstNonMiniTab();
browser->AddTabWithURL(url, GURL(), transition,
true, index, true, NULL);
break;