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

Unified Diff: chrome/browser/printing/print_dialog_cloud.cc

Issue 37733003: Make GetRootWindow() return a Window instead of a RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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.cc
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index 187dac67dffc2c75783c3d489eda7b2631235f21..4f9c5f9061b34f52754a58c373a9df2ef7bb2530 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -636,7 +636,7 @@ void CreateDialogImpl(content::BrowserContext* browser_context,
if (window) {
HWND dialog_handle;
#if defined(USE_AURA)
- dialog_handle = window->GetRootWindow()->GetAcceleratedWidget();
+ dialog_handle = window->GetDispatcher()->GetAcceleratedWidget();
#else
dialog_handle = window;
#endif
« no previous file with comments | « chrome/browser/first_run/try_chrome_dialog_view.cc ('k') | chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698