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

Unified Diff: printing/printing_context_no_system_dialog.cc

Issue 8549031: base::Bind: Convert PrintingContext::PrintSettingsCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix. Created 9 years, 1 month 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_no_system_dialog.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_no_system_dialog.cc
diff --git a/printing/printing_context_no_system_dialog.cc b/printing/printing_context_no_system_dialog.cc
index dac11d40d970a6bdc4859d09608518dcd363d921..58ab76e45dbb0c84a8dbd991a824505285a2a523 100644
--- a/printing/printing_context_no_system_dialog.cc
+++ b/printing/printing_context_no_system_dialog.cc
@@ -32,9 +32,9 @@ void PrintingContextNoSystemDialog::AskUserForSettings(
gfx::NativeView parent_view,
int max_pages,
bool has_selection,
- PrintSettingsCallback* callback) {
+ const PrintSettingsCallback& callback) {
// We don't want to bring up a dialog here. Ever. Just signal the callback.
- callback->Run(OK);
+ callback.Run(OK);
}
PrintingContext::Result PrintingContextNoSystemDialog::UseDefaultSettings() {
« no previous file with comments | « printing/printing_context_no_system_dialog.h ('k') | printing/printing_context_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698