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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.cc

Issue 209483003: Merge 256634 "Show dialog as separate post task." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1847/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
« no previous file with comments | « chrome/browser/printing/print_view_manager_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview/print_preview_handler.cc
===================================================================
--- chrome/browser/ui/webui/print_preview/print_preview_handler.cc (revision 258823)
+++ chrome/browser/ui/webui/print_preview/print_preview_handler.cc (working copy)
@@ -862,10 +862,7 @@
WebContents* initiator = GetInitiator();
if (initiator)
ClearInitiatorDetails();
- gfx::NativeWindow parent = initiator ?
- initiator->GetView()->GetTopLevelNativeWindow() :
- NULL;
- chrome::ShowPrintErrorDialog(parent);
+ chrome::ShowPrintErrorDialog();
}
void PrintPreviewHandler::HandleSaveAppState(const base::ListValue* args) {
« no previous file with comments | « chrome/browser/printing/print_view_manager_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698