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

Unified Diff: chrome/browser/chromeos/file_manager/open_with_browser.cc

Issue 1662783002: Remove HostDesktopType from Browser::CreateParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-12
Patch Set: remove desktop_type_ in bookmark_bubble_sign_in_delegate Created 4 years, 10 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/chromeos/file_manager/open_with_browser.cc
diff --git a/chrome/browser/chromeos/file_manager/open_with_browser.cc b/chrome/browser/chromeos/file_manager/open_with_browser.cc
index c970ebffd037fbbf51c11c94a243a62cb729cc0a..8da982e21983dd8c95a1e767ea754806e8c49ade 100644
--- a/chrome/browser/chromeos/file_manager/open_with_browser.cc
+++ b/chrome/browser/chromeos/file_manager/open_with_browser.cc
@@ -114,8 +114,7 @@ void OpenNewTab(Profile* profile, const GURL& url) {
if (!g_browser_process->profile_manager()->IsValidProfile(profile))
return;
- chrome::ScopedTabbedBrowserDisplayer displayer(
- profile, chrome::HOST_DESKTOP_TYPE_ASH);
+ chrome::ScopedTabbedBrowserDisplayer displayer(profile);
chrome::AddSelectedTabWithURL(displayer.browser(), url,
ui::PAGE_TRANSITION_LINK);
« no previous file with comments | « chrome/browser/chromeos/drive/file_task_executor.cc ('k') | chrome/browser/chromeos/first_run/drive_first_run_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698