| Index: chrome/browser/chromeos/printing/printer_pref_manager.cc
|
| diff --git a/chrome/browser/chromeos/printing/printer_pref_manager.cc b/chrome/browser/chromeos/printing/printer_pref_manager.cc
|
| index 00a63f127fa198d74f351cb2b994ffd3d0bfb53e..8df6fdcfa71ace2f5cc55941f96382b14cad7613 100644
|
| --- a/chrome/browser/chromeos/printing/printer_pref_manager.cc
|
| +++ b/chrome/browser/chromeos/printing/printer_pref_manager.cc
|
| @@ -100,7 +100,7 @@ void PrinterPrefManager::RegisterPrinter(std::unique_ptr<Printer> printer) {
|
| printer->set_id(base::GenerateGUID());
|
|
|
| std::unique_ptr<base::DictionaryValue> updated_printer =
|
| - printing::PrinterToPref(*(printer.get()));
|
| + printing::PrinterToPref(*printer);
|
| UpdatePrinterPref(profile_, printer->id(), std::move(updated_printer));
|
| }
|
|
|
|
|