| Index: chrome/browser/printing/printer_query.cc
|
| diff --git a/chrome/browser/printing/printer_query.cc b/chrome/browser/printing/printer_query.cc
|
| index 6cd11ff067ef9537b1c6ee0131160c8eb8805b1d..e20272f911fbbc9271f374e0cad501c6838a3e0e 100644
|
| --- a/chrome/browser/printing/printer_query.cc
|
| +++ b/chrome/browser/printing/printer_query.cc
|
| @@ -68,6 +68,7 @@ void PrinterQuery::GetSettings(
|
| int expected_page_count,
|
| bool has_selection,
|
| MarginType margin_type,
|
| + bool is_scripted,
|
| const base::Closure& callback) {
|
| DCHECK(RunsTasksOnCurrentThread());
|
| DCHECK(!is_print_dialog_box_shown_);
|
| @@ -75,14 +76,14 @@ void PrinterQuery::GetSettings(
|
| StartWorker(callback);
|
|
|
| // Real work is done in PrintJobWorker::GetSettings().
|
| - is_print_dialog_box_shown_ = ask_user_for_settings == ASK_USER;
|
| worker_->PostTask(FROM_HERE,
|
| base::Bind(&PrintJobWorker::GetSettings,
|
| base::Unretained(worker_.get()),
|
| - is_print_dialog_box_shown_,
|
| + ask_user_for_settings,
|
| expected_page_count,
|
| has_selection,
|
| - margin_type));
|
| + margin_type,
|
| + is_scripted));
|
| }
|
|
|
| void PrinterQuery::SetSettings(scoped_ptr<base::DictionaryValue> new_settings,
|
|
|