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

Unified Diff: chrome/browser/ui/extensions/application_launch.cc

Issue 1661713002: Remove the rest of HostDesktopType from c/b/ui/browser_finder.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-11
Patch Set: linux adl 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/ui/extensions/application_launch.cc
diff --git a/chrome/browser/ui/extensions/application_launch.cc b/chrome/browser/ui/extensions/application_launch.cc
index 0025d3515a8c521e09b9f4ca47412a6413920292..986bf75a781e34f9e7a3428af1aa14d6e4099b57 100644
--- a/chrome/browser/ui/extensions/application_launch.cc
+++ b/chrome/browser/ui/extensions/application_launch.cc
@@ -231,9 +231,7 @@ WebContents* OpenApplicationTab(const AppLaunchParams& launch_params,
Profile* const profile = launch_params.profile;
WindowOpenDisposition disposition = launch_params.disposition;
- Browser* browser = chrome::FindTabbedBrowser(profile,
- false,
- launch_params.desktop_type);
+ Browser* browser = chrome::FindTabbedBrowser(profile, false);
WebContents* contents = NULL;
if (!browser) {
// No browser for this profile, need to open a new one.
« no previous file with comments | « chrome/browser/ui/cocoa/history_menu_cocoa_controller.mm ('k') | chrome/browser/ui/extensions/hosted_app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698