Index: chrome/browser/printing/print_job_worker.cc |
diff --git a/chrome/browser/printing/print_job_worker.cc b/chrome/browser/printing/print_job_worker.cc |
index 85d178bfbf20651d4201df85f8823d00d5836df3..4f468cff3998571cc28623fdb12222502b0acbc8 100644 |
--- a/chrome/browser/printing/print_job_worker.cc |
+++ b/chrome/browser/printing/print_job_worker.cc |
@@ -116,7 +116,7 @@ void PrintJobWorker::GetSettings( |
} |
void PrintJobWorker::SetSettings( |
- const base::DictionaryValue* const new_settings) { |
+ scoped_ptr<base::DictionaryValue> new_settings) { |
DCHECK(task_runner_->RunsTasksOnCurrentThread()); |
BrowserThread::PostTask( |
@@ -126,11 +126,11 @@ void PrintJobWorker::SetSettings( |
make_scoped_refptr(owner_), |
base::Bind(&PrintJobWorker::UpdatePrintSettings, |
base::Unretained(this), |
- base::Owned(new_settings)))); |
+ base::Passed(&new_settings)))); |
} |
void PrintJobWorker::UpdatePrintSettings( |
- const base::DictionaryValue* const new_settings) { |
+ scoped_ptr<base::DictionaryValue> new_settings) { |
PrintingContext::Result result = |
printing_context_->UpdatePrintSettings(*new_settings); |
GetSettingsDone(result); |