summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorshail.s <shail.s@samsung.com>2015-06-02 20:47:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-03 03:48:12 +0000
commitc5542fb47f81e40128d66f2c810240367c8cc1d5 (patch)
treec4420f177b31d24d026f5849f45740652ce834cd /device
parent689d5020bb670e8c63feb20b47fedb2112eee05f (diff)
downloadchromium_src-c5542fb47f81e40128d66f2c810240367c8cc1d5.zip
chromium_src-c5542fb47f81e40128d66f2c810240367c8cc1d5.tar.gz
chromium_src-c5542fb47f81e40128d66f2c810240367c8cc1d5.tar.bz2
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}
Diffstat (limited to 'device')
-rw-r--r--device/bluetooth/bluetooth_low_energy_win.cc2
1 files changed, 1 insertions, 1 deletions
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());
}
}
}