| Index: chrome/browser/printing/printer_query.cc
|
| diff --git a/chrome/browser/printing/printer_query.cc b/chrome/browser/printing/printer_query.cc
|
| index 42684a14daf9753d4201d520b5080fb69eb0db26..0120ba24574d44e081fd85c328d4cbfae24eb187 100644
|
| --- a/chrome/browser/printing/printer_query.cc
|
| +++ b/chrome/browser/printing/printer_query.cc
|
| @@ -88,14 +88,14 @@ void PrinterQuery::GetSettings(
|
| margin_type));
|
| }
|
|
|
| -void PrinterQuery::SetSettings(const base::DictionaryValue& new_settings,
|
| +void PrinterQuery::SetSettings(scoped_ptr<base::DictionaryValue> new_settings,
|
| const base::Closure& callback) {
|
| StartWorker(callback);
|
|
|
| worker_->PostTask(FROM_HERE,
|
| base::Bind(&PrintJobWorker::SetSettings,
|
| base::Unretained(worker_.get()),
|
| - new_settings.DeepCopy()));
|
| + base::Passed(&new_settings)));
|
| }
|
|
|
| void PrinterQuery::SetWorkerDestination(
|
|
|