Index: chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc |
diff --git a/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc b/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc |
index 08231f639315babfed66f03e482d2ddc50494d33..1368740d7baab65f270949758e976e4f1d40675e 100644 |
--- a/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc |
+++ b/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc |
@@ -171,8 +171,7 @@ void ChromeRuntimeAPIDelegate::OpenURL(const GURL& uninstall_url) { |
Profile* profile = Profile::FromBrowserContext(browser_context_); |
Browser* browser = chrome::FindLastActiveWithProfile(profile); |
if (!browser) |
- browser = |
- new Browser(Browser::CreateParams(profile, chrome::GetActiveDesktop())); |
+ browser = new Browser(Browser::CreateParams(profile)); |
chrome::NavigateParams params( |
browser, uninstall_url, ui::PAGE_TRANSITION_CLIENT_REDIRECT); |