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

Unified Diff: device/bluetooth/bluetooth_low_energy_win.cc

Issue 1160263002: Subsituting pattern ScopedVector push_back.(ptr.release()) with push_back(ptr.Pass()) in device/blu… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_low_energy_win.cc
diff --git a/device/bluetooth/bluetooth_low_energy_win.cc b/device/bluetooth/bluetooth_low_energy_win.cc
index 2201268d8435c334fd4b72155d5cf8525058fa79..ebac47d0cdf2a7c7df2b029d2f9eb34cb43fa554 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());
}
}
}
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698