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

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

Issue 194383002: Show dialog as separate post task. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_view_manager_base.cc
diff --git a/chrome/browser/printing/print_view_manager_base.cc b/chrome/browser/printing/print_view_manager_base.cc
index a5008037bc5f9f99ca304d1b855ad91edd7a53c5..b0d36580d1c055c9ce8e20e1f559baf06ad798bd 100644
--- a/chrome/browser/printing/print_view_manager_base.cc
+++ b/chrome/browser/printing/print_view_manager_base.cc
@@ -197,8 +197,7 @@ void PrintViewManagerBase::OnPrintingFailed(int cookie) {
}
#if defined(ENABLE_FULL_PRINTING)
- chrome::ShowPrintErrorDialog(
- web_contents()->GetView()->GetTopLevelNativeWindow());
+ chrome::ShowPrintErrorDialog();
#endif
ReleasePrinterQuery();
« no previous file with comments | « chrome/browser/printing/print_error_dialog.cc ('k') | chrome/browser/ui/webui/print_preview/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698