Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Unified Diff: chrome/browser/download/download_crx_util.cc

Issue 1659203002: Remove HostDesktopType from FindLastActive[WithProfile] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nullptr Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_crx_util.cc
diff --git a/chrome/browser/download/download_crx_util.cc b/chrome/browser/download/download_crx_util.cc
index 6a2ed6374fe28b05edc28ff98b4a15b9e6c7f2ca..584ce0dcc6c798813aa3302afb6acab2df95601f 100644
--- a/chrome/browser/download/download_crx_util.cc
+++ b/chrome/browser/download/download_crx_util.cc
@@ -48,8 +48,7 @@ scoped_ptr<ExtensionInstallPrompt> CreateExtensionInstallPrompt(
content::WebContents* web_contents = download_item.GetWebContents();
if (!web_contents) {
chrome::HostDesktopType active_desktop = chrome::GetActiveDesktop();
- Browser* browser = chrome::FindLastActiveWithProfile(profile,
- active_desktop);
+ Browser* browser = chrome::FindLastActiveWithProfile(profile);
if (!browser)
browser = new Browser(Browser::CreateParams(Browser::TYPE_TABBED,
profile, active_desktop));
« no previous file with comments | « chrome/browser/background/background_mode_manager.cc ('k') | chrome/browser/download/download_ui_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698