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

Unified Diff: chrome/browser/ui/chrome_pages.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/chrome_pages.cc
diff --git a/chrome/browser/ui/chrome_pages.cc b/chrome/browser/ui/chrome_pages.cc
index 71bf3aa8bf297ae6e1ca67396c127564dac954df..5ba3f711dc197b9dd701b23dc7757b00eb67a500 100644
--- a/chrome/browser/ui/chrome_pages.cc
+++ b/chrome/browser/ui/chrome_pages.cc
@@ -285,8 +285,7 @@ void ShowSettingsSubPageForProfile(Profile* profile,
profile, GetSettingsUrl(sub_page));
return;
}
- Browser* browser =
- chrome::FindTabbedBrowser(profile, false, HOST_DESKTOP_TYPE_NATIVE);
+ Browser* browser = chrome::FindTabbedBrowser(profile, false);
if (!browser) {
browser = new Browser(
Browser::CreateParams(profile, chrome::HOST_DESKTOP_TYPE_NATIVE));
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698