Index: remoting/protocol/negotiating_authenticator_unittest.cc |
diff --git a/remoting/protocol/negotiating_authenticator_unittest.cc b/remoting/protocol/negotiating_authenticator_unittest.cc |
index 0c95f6b6cc9a4801a35da9ea82f8a7e0614c810f..9cc2ebcf35ce8d48ceb9c375635f447667323f0c 100644 |
--- a/remoting/protocol/negotiating_authenticator_unittest.cc |
+++ b/remoting/protocol/negotiating_authenticator_unittest.cc |
@@ -69,10 +69,11 @@ class NegotiatingAuthenticatorTest : public AuthenticatorTestBase { |
methods.push_back(AuthenticationMethod::Spake2( |
AuthenticationMethod::NONE)); |
} |
- bool pairing_expected = pairing_registry != NULL; |
- FetchSecretCallback fetch_secret_callback = base::Bind( |
- &NegotiatingAuthenticatorTest::FetchSecret, |
- client_interactive_pin, pairing_expected); |
+ bool pairing_expected = pairing_registry.get() != NULL; |
+ FetchSecretCallback fetch_secret_callback = |
+ base::Bind(&NegotiatingAuthenticatorTest::FetchSecret, |
+ client_interactive_pin, |
+ pairing_expected); |
client_as_negotiating_authenticator_ = new NegotiatingClientAuthenticator( |
client_id, client_paired_secret, |
kTestHostId, fetch_secret_callback, |