From c5542fb47f81e40128d66f2c810240367c8cc1d5 Mon Sep 17 00:00:00 2001 From: "shail.s" Date: Tue, 2 Jun 2015 20:47:45 -0700 Subject: Subsituting pattern ScopedVector push_back.(ptr.release()) with push_back(ptr.Pass()) in device/bluetooth BUG=457697 R=rpaquay@chromium.org Review URL: https://codereview.chromium.org/1160263002 Cr-Commit-Position: refs/heads/master@{#332546} --- device/bluetooth/bluetooth_low_energy_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device') diff --git a/device/bluetooth/bluetooth_low_energy_win.cc b/device/bluetooth/bluetooth_low_energy_win.cc index 2201268..ebac47d 100644 --- a/device/bluetooth/bluetooth_low_energy_win.cc +++ b/device/bluetooth/bluetooth_low_energy_win.cc @@ -649,7 +649,7 @@ bool EnumerateKnownBluetoothLowEnergyDevices( case kError: return false; case kOk: - devices->push_back(device_info.release()); + devices->push_back(device_info.Pass()); } } } -- cgit v1.1