Index: device/bluetooth/bluez/bluetooth_socket_bluez.cc |
diff --git a/device/bluetooth/bluez/bluetooth_socket_bluez.cc b/device/bluetooth/bluez/bluetooth_socket_bluez.cc |
index a09e4f765ee702c9a931a82ec4745228229fe0ea..607fdff57e547b689670535fab40241bedce1d0e 100644 |
--- a/device/bluetooth/bluez/bluetooth_socket_bluez.cc |
+++ b/device/bluetooth/bluez/bluetooth_socket_bluez.cc |
@@ -399,7 +399,7 @@ void BluetoothSocketBlueZ::Cancel() { |
VLOG(1) << profile_->object_path().value() << ": Cancel"; |
- if (!connection_request_queue_.size()) |
+ if (connection_request_queue_.empty()) |
return; |
// If the front request is being accepted mark it as cancelled, otherwise |