Index: extensions/browser/api/bluetooth/bluetooth_api.cc |
diff --git a/extensions/browser/api/bluetooth/bluetooth_api.cc b/extensions/browser/api/bluetooth/bluetooth_api.cc |
index 6d0b00304af1248747dda41140935b030e3fc237..3580c88813f29705b2883bd768e872eafcc9be1b 100644 |
--- a/extensions/browser/api/bluetooth/bluetooth_api.cc |
+++ b/extensions/browser/api/bluetooth/bluetooth_api.cc |
@@ -129,7 +129,7 @@ bool BluetoothGetDevicesFunction::DoWork( |
bluetooth::Device extension_device; |
bluetooth::BluetoothDeviceToApiDevice(*device, &extension_device); |
- device_list->Append(extension_device.ToValue().release()); |
+ device_list->Append(extension_device.ToValue()); |
} |
SetResult(std::move(device_list)); |