Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(805)

Unified Diff: device/bluetooth/test/bluetooth_gatt_server_test.cc

Issue 2254833003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/test/bluetooth_gatt_server_test.cc
diff --git a/device/bluetooth/test/bluetooth_gatt_server_test.cc b/device/bluetooth/test/bluetooth_gatt_server_test.cc
index 35e8d9ba995baebc0b3285b79e06e077575fba1e..508dc2bd9d8a3366cc4903d4fa5b5480589f321b 100644
--- a/device/bluetooth/test/bluetooth_gatt_server_test.cc
+++ b/device/bluetooth/test/bluetooth_gatt_server_test.cc
@@ -32,7 +32,7 @@ void BluetoothGattServerTest::SetUp() {
BluetoothTest::SetUp();
last_read_value_ = std::vector<uint8_t>();
InitWithFakeAdapter();
- delegate_ = base::WrapUnique(new TestBluetoothLocalGattServiceDelegate());
+ delegate_ = base::MakeUnique<TestBluetoothLocalGattServiceDelegate>();
}
void BluetoothGattServerTest::TearDown() {
« no previous file with comments | « device/bluetooth/dbus/bluetooth_le_advertisement_service_provider.cc ('k') | device/bluetooth/test/bluetooth_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698