Index: extensions/browser/api/app_runtime/app_runtime_api.cc |
diff --git a/extensions/browser/api/app_runtime/app_runtime_api.cc b/extensions/browser/api/app_runtime/app_runtime_api.cc |
index b1093686210de1bdd487efd5403b9f44a81ea4d4..aeb5775b87f329e87f25afc6fe086dc9ca17f5cf 100644 |
--- a/extensions/browser/api/app_runtime/app_runtime_api.cc |
+++ b/extensions/browser/api/app_runtime/app_runtime_api.cc |
@@ -191,7 +191,7 @@ void AppRuntimeEventRouter::DispatchOnLaunchedEventWithFileEntries( |
launch_item->SetBoolean("isDirectory", entries[i].is_directory); |
items->Append(std::move(launch_item)); |
} |
- launch_data->Set("items", items.release()); |
+ launch_data->Set("items", std::move(items)); |
DispatchOnLaunchedEventImpl(extension->id(), source_enum, |
std::move(launch_data), context); |
} |