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

Unified Diff: chrome/browser/printing/print_dialog_cloud_win.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/printing/print_dialog_cloud_win.cc
diff --git a/chrome/browser/printing/print_dialog_cloud_win.cc b/chrome/browser/printing/print_dialog_cloud_win.cc
index 80887294fb4b34f7946db1b0c808ce6249736a9a..4e445e520a49864887b3290f0429f942e6173454 100644
--- a/chrome/browser/printing/print_dialog_cloud_win.cc
+++ b/chrome/browser/printing/print_dialog_cloud_win.cc
@@ -93,8 +93,7 @@ void CreatePrintDialog(content::BrowserContext* browser_context,
const scoped_refptr<base::RefCountedMemory>& data) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
Profile* profile = Profile::FromBrowserContext(browser_context);
- chrome::ScopedTabbedBrowserDisplayer displayer(profile,
- chrome::GetActiveDesktop());
+ chrome::ScopedTabbedBrowserDisplayer displayer(profile);
GURL url = cloud_devices::GetCloudPrintRelativeURL("client/dialog.html");
content::WebContents* web_contents =
displayer.browser()->OpenURL(content::OpenURLParams(
« no previous file with comments | « chrome/browser/prefetch/prefetch_browsertest.cc ('k') | chrome/browser/profiles/avatar_menu_actions_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698