| Index: chrome/browser/browser_init.cc
|
| ===================================================================
|
| --- chrome/browser/browser_init.cc (revision 37310)
|
| +++ chrome/browser/browser_init.cc (working copy)
|
| @@ -588,13 +588,6 @@
|
| if (!profile_ && browser)
|
| profile_ = browser->profile();
|
|
|
| - int pin_count = 0;
|
| - if (!browser) {
|
| - std::string pin_count_string =
|
| - command_line_.GetSwitchValueASCII(switches::kPinnedTabCount);
|
| - if (!pin_count_string.empty())
|
| - pin_count = StringToInt(pin_count_string);
|
| - }
|
| if (!browser || browser->type() != Browser::TYPE_NORMAL)
|
| browser = Browser::Create(profile_);
|
|
|
| @@ -613,8 +606,6 @@
|
| continue;
|
| TabContents* tab = browser->AddTabWithURL(
|
| urls[i], GURL(), PageTransition::START_PAGE, (i == 0), -1, false, NULL);
|
| - if (i < static_cast<size_t>(pin_count))
|
| - browser->tabstrip_model()->SetTabPinned(browser->tab_count() - 1, true);
|
| if (profile_ && i == 0 && process_startup)
|
| AddCrashedInfoBarIfNecessary(tab);
|
| }
|
|
|