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 f59c681dbebc89bc2367dc7aa01cd60599452623..f7cf9c06bf43aeb4e883cc8cfdae40c78ceae56d 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
@@ -376,7 +376,7 @@ bool StartupBrowserCreatorImpl::Launch(Profile* profile, |
// It's possible for there to be no browser window, e.g. if someone |
// specified a non-sensical combination of options |
// ("--kiosk --no_startup_window"); do nothing in that case. |
- Browser* browser = BrowserList::GetInstance(desktop_type)->GetLastActive(); |
+ Browser* browser = BrowserList::GetInstance()->GetLastActive(); |
if (browser) |
chrome::ToggleFullscreenMode(browser); |
} |