Index: extensions/browser/api/printer_provider/printer_provider_api.cc |
diff --git a/extensions/browser/api/printer_provider/printer_provider_api.cc b/extensions/browser/api/printer_provider/printer_provider_api.cc |
index 762bd7e0c12a98d4336e48f703d076b7a60cc312..a29a8ca79e8905998d3ffa2579d747b640fa045e 100644 |
--- a/extensions/browser/api/printer_provider/printer_provider_api.cc |
+++ b/extensions/browser/api/printer_provider/printer_provider_api.cc |
@@ -614,7 +614,7 @@ void PrinterProviderAPIImpl::DispatchPrintRequested( |
// Request id is not part of the public API and it will be massaged out in |
// custom bindings. |
internal_args->AppendInteger(request_id); |
- internal_args->Append(print_job.ToValue().release()); |
+ internal_args->Append(print_job.ToValue()); |
std::unique_ptr<Event> event( |
new Event(events::PRINTER_PROVIDER_ON_PRINT_REQUESTED, |
api::printer_provider::OnPrintRequested::kEventName, |