Index: tools/battor_agent/battor_finder.cc |
diff --git a/tools/battor_agent/battor_finder.cc b/tools/battor_agent/battor_finder.cc |
index a8248e5f5f0308ee4674a7f9140ecf85008ffdf1..0aa54ac12b3b87aaa6fbdff7e757c750e965f963 100644 |
--- a/tools/battor_agent/battor_finder.cc |
+++ b/tools/battor_agent/battor_finder.cc |
@@ -25,7 +25,7 @@ const char kBattOrPathSwitch[] = "battor-path"; |
} // namespace |
std::string BattOrFinder::FindBattOr() { |
- scoped_ptr<device::SerialDeviceEnumerator> serial_device_enumerator = |
+ std::unique_ptr<device::SerialDeviceEnumerator> serial_device_enumerator = |
device::SerialDeviceEnumerator::Create(); |
mojo::Array<device::serial::DeviceInfoPtr> devices = |