Index: components/proximity_auth/bluetooth_connection_finder.cc |
diff --git a/components/proximity_auth/bluetooth_connection_finder.cc b/components/proximity_auth/bluetooth_connection_finder.cc |
index 3fe6567c174a0e76dc338ba8c5da75c20d4e7808..1f26d2ffc77b92868b5a19416d1e5a13b9beee8b 100644 |
--- a/components/proximity_auth/bluetooth_connection_finder.cc |
+++ b/components/proximity_auth/bluetooth_connection_finder.cc |
@@ -119,10 +119,10 @@ void BluetoothConnectionFinder::AdapterPoweredChanged(BluetoothAdapter* adapter, |
} |
void BluetoothConnectionFinder::OnConnectionStatusChanged( |
- const Connection& connection, |
+ Connection* connection, |
Connection::Status old_status, |
Connection::Status new_status) { |
- DCHECK_EQ(&connection, connection_.get()); |
+ DCHECK_EQ(connection, connection_.get()); |
if (connection_->IsConnected()) { |
base::TimeDelta elapsed = base::TimeTicks::Now() - start_time_; |