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 |