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

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

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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.cc
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index d6c2535b31de8f383b83c67761349b539f907cad..5b67d69866c9e13bad99aadea6917b8f9935b569 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -635,7 +635,7 @@ void CreateDialogImpl(content::BrowserContext* browser_context,
if (window) {
HWND dialog_handle;
#if defined(USE_AURA)
- dialog_handle = window->GetDispatcher()->host()->GetAcceleratedWidget();
+ dialog_handle = window->GetHost()->GetAcceleratedWidget();
#else
dialog_handle = window;
#endif

Powered by Google App Engine
This is Rietveld 408576698