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

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

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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 4f9c5f9061b34f52754a58c373a9df2ef7bb2530..8dcaf9790e7f67ebafc7239018237d6f0228fb70 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->GetDispatcher()->GetAcceleratedWidget();
+ dialog_handle = window->GetDispatcher()->host()->GetAcceleratedWidget();
#else
dialog_handle = window;
#endif
@@ -784,4 +784,4 @@ bool CreatePrintDialogFromCommandLine(const CommandLine& command_line) {
return false;
}
-} // end namespace
+} // namespace print_dialog_cloud
« 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