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

Unified Diff: printing/printing_context_system_dialog_win.cc

Issue 1083433003: Fix crash from ipc_fuzzer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fri Apr 10 16:31:41 PDT 2015 Created 5 years, 8 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 | « printing/printing_context_system_dialog_win.h ('k') | printing/printing_context_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_system_dialog_win.cc
diff --git a/printing/printing_context_system_dialog_win.cc b/printing/printing_context_system_dialog_win.cc
index e67ae3bf839f003d036e24e8b7b58097b30868ff..f11e0686df34d9d4e95e474e980279a5992c3361 100644
--- a/printing/printing_context_system_dialog_win.cc
+++ b/printing/printing_context_system_dialog_win.cc
@@ -68,7 +68,7 @@ void PrintingContextSytemDialogWin::AskUserForSettings(
if (ShowPrintDialog(&dialog_options) != S_OK) {
ResetSettings();
- callback.Run(FAILED);
+ return callback.Run(FAILED);
Aleksey Shlyapnikov 2015/04/10 23:55:31 Looks weird to return like this from void function
Vitaly Buka (NO REVIEWS) 2015/04/11 00:23:05 Done.
}
// TODO(maruel): Support PD_PRINTTOFILE.
« no previous file with comments | « printing/printing_context_system_dialog_win.h ('k') | printing/printing_context_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698