Index: remoting/protocol/negotiating_host_authenticator.cc |
diff --git a/remoting/protocol/negotiating_host_authenticator.cc b/remoting/protocol/negotiating_host_authenticator.cc |
index dfd46bd2e0301f1b9240f92fd34c0399d87cc48a..5a4cb0a0e5237348abff4db0b1898401c09fff7b 100644 |
--- a/remoting/protocol/negotiating_host_authenticator.cc |
+++ b/remoting/protocol/negotiating_host_authenticator.cc |
@@ -41,7 +41,7 @@ scoped_ptr<Authenticator> NegotiatingHostAuthenticator::CreateWithSharedSecret( |
result->shared_secret_hash_ = shared_secret_hash; |
result->pairing_registry_ = pairing_registry; |
result->AddMethod(AuthenticationMethod::Spake2(hash_function)); |
- if (pairing_registry) { |
+ if (pairing_registry.get()) { |
result->AddMethod(AuthenticationMethod::Spake2Pair()); |
} |
return scoped_ptr<Authenticator>(result.Pass()); |