File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ void NwCurrentWindowInternalCapturePageInternalFunction::OnCaptureSuccess(const
414
414
base::Base64Encode (stream_as_string, &base64_result);
415
415
base64_result.insert (
416
416
0 , base::StringPrintf (" data:%s;base64," , mime_type.c_str ()));
417
- Respond (OneArgument (std::make_unique<base::Value>(base64_result)));
417
+ Respond (OneArgument (base::Value::FromUniquePtrValue ( std::make_unique<base::Value>(base64_result) )));
418
418
}
419
419
420
420
void NwCurrentWindowInternalCapturePageInternalFunction::OnCaptureFailure (FailureReason reason) {
@@ -983,7 +983,7 @@ NwCurrentWindowInternalGetPrintersFunction::Run() {
983
983
void NwCurrentWindowInternalGetPrintersFunction::OnGetPrinterList (const printing::PrinterList& printer_list) {
984
984
base::ListValue* printers = new base::ListValue ();
985
985
chrome::PrintersToValues (printer_list, printers);
986
- Respond (OneArgument (base::WrapUnique (printers)));
986
+ Respond (OneArgument (base::Value::FromUniquePtrValue ( base:: WrapUnique (printers) )));
987
987
}
988
988
989
989
bool NwCurrentWindowInternalSetPrintSettingsInternalFunction::RunNWSync (base::ListValue* response, std::string* error) {
You can’t perform that action at this time.
0 commit comments