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

Unified Diff: content/browser/bluetooth/frame_connected_bluetooth_devices_unittest.cc

Issue 2256173002: 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: content/browser/bluetooth/frame_connected_bluetooth_devices_unittest.cc
diff --git a/content/browser/bluetooth/frame_connected_bluetooth_devices_unittest.cc b/content/browser/bluetooth/frame_connected_bluetooth_devices_unittest.cc
index 66b018ad948c259045eb00a6d25434e5575bf793..21ddd44083dede3ef1c1b4087e534d7d3e474c0b 100644
--- a/content/browser/bluetooth/frame_connected_bluetooth_devices_unittest.cc
+++ b/content/browser/bluetooth/frame_connected_bluetooth_devices_unittest.cc
@@ -94,8 +94,8 @@ class FrameConnectedBluetoothDevicesTest
std::unique_ptr<NiceMockBluetoothGattConnection> GetConnection(
const std::string& address) {
- return base::WrapUnique(
- new NiceMockBluetoothGattConnection(adapter_.get(), address));
+ return base::MakeUnique<NiceMockBluetoothGattConnection>(adapter_.get(),
+ address);
}
void ResetService0() {

Powered by Google App Engine
This is Rietveld 408576698