Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc |
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
index d7b4b7b3d6be52c3c9f9ce77cb5ad95ebe586015..c648526f531a2b60721f6d9099fbea73c75137f0 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
@@ -630,7 +630,7 @@ bool StartupBrowserCreatorImpl::ProcessStartupURLs( |
// The startup code only executes for browsers launched in desktop mode. |
// i.e. HOST_DESKTOP_TYPE_NATIVE. Ash should never get here. |
Browser* browser = SessionRestore::RestoreSession( |
- profile_, NULL, desktop_type, restore_behavior, adjusted_urls); |
+ profile_, NULL, restore_behavior, adjusted_urls); |
AddInfoBarsIfNecessary(browser, chrome::startup::IS_PROCESS_STARTUP); |
return true; |
@@ -744,7 +744,7 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser( |
profile_ = browser->profile(); |
if (!browser || !browser->is_type_tabbed()) |
- browser = new Browser(Browser::CreateParams(profile_, desktop_type)); |
+ browser = new Browser(Browser::CreateParams(profile_)); |
bool first_tab = true; |
ProtocolHandlerRegistry* registry = profile_ ? |