Skip to content

Commit

Permalink
Subsituting pattern ScopedVector push_back.(ptr.release()) with push_…
Browse files Browse the repository at this point in the history
…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}
  • Loading branch information
shail.s authored and Commit bot committed Jun 3, 2015
1 parent 689d502 commit c5542fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ Seshadri Mahalingam <seshadri.mahalingam@gmail.com>
Sevan Janiyan <venture37@geeklan.co.uk>
ShankarGanesh K <blr.bmlab@gmail.com>
Shanmuga Pandi M <shanmuga.m@samsung.com>
Shail Singhal <shail.s@samsung.com>
Sherry Mou <wenjinm@amazon.com>
Shez Baig <sbaig1@bloomberg.net>
Shiliu Wang <aofdwsl@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion device/bluetooth/bluetooth_low_energy_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ bool EnumerateKnownBluetoothLowEnergyDevices(
case kError:
return false;
case kOk:
devices->push_back(device_info.release());
devices->push_back(device_info.Pass());
}
}
}
Expand Down

0 comments on commit c5542fb

Please sign in to comment.