Index: components/proximity_auth/client.cc |
diff --git a/components/proximity_auth/client.cc b/components/proximity_auth/client.cc |
index 016c50510e546bce1e515173ef4430e4433e53fb..a0b6a06545f081dfa652da82d11d06376e1d8100 100644 |
--- a/components/proximity_auth/client.cc |
+++ b/components/proximity_auth/client.cc |
@@ -177,10 +177,10 @@ void Client::HandleUnlockResponseMessage(const base::DictionaryValue& message) { |
FOR_EACH_OBSERVER(ClientObserver, observers_, OnUnlockResponse(true)); |
} |
-void Client::OnConnectionStatusChanged(const Connection& connection, |
+void Client::OnConnectionStatusChanged(Connection* connection, |
Connection::Status old_status, |
Connection::Status new_status) { |
- DCHECK_EQ(&connection, connection_.get()); |
+ DCHECK_EQ(connection, connection_.get()); |
if (new_status != Connection::CONNECTED) { |
VLOG(1) << "[Client] Secure channel disconnected..."; |
connection_->RemoveObserver(this); |