summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_init.cc')
-rw-r--r--chrome/browser/browser_init.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
index 21eca66..63b6d32 100644
--- a/chrome/browser/browser_init.cc
+++ b/chrome/browser/browser_init.cc
@@ -751,11 +751,10 @@ Browser* BrowserInit::LaunchWithProfile::OpenTabsInBrowser(
if (!process_startup && !URLRequest::IsHandledURL(tabs[i].url))
continue;
- int add_types = first_tab ? TabStripModel::ADD_SELECTED :
- TabStripModel::ADD_NONE;
- add_types |= TabStripModel::ADD_FORCE_INDEX;
+ int add_types = first_tab ? Browser::ADD_SELECTED : Browser::ADD_NONE;
+ add_types |= Browser::ADD_FORCE_INDEX;
if (tabs[i].is_pinned)
- add_types |= TabStripModel::ADD_PINNED;
+ add_types |= Browser::ADD_PINNED;
int index = browser->GetIndexForInsertionDuringRestore(i);
TabContents* tab = browser->AddTabWithURL(