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()); |
} |
} |
} |