Index: remoting/protocol/pairing_authenticator_base.cc |
diff --git a/remoting/protocol/pairing_authenticator_base.cc b/remoting/protocol/pairing_authenticator_base.cc |
index 7435e55a87beeb790b5efe078f8ed59cf13340dd..54fde0cbd0d4e28a94ba568ca0670292e6abc570 100644 |
--- a/remoting/protocol/pairing_authenticator_base.cc |
+++ b/remoting/protocol/pairing_authenticator_base.cc |
@@ -117,7 +117,7 @@ bool PairingAuthenticatorBase::HasErrorMessage( |
std::string error = pairing_failed_tag->Attr(kPairingErrorAttribute); |
LOG(ERROR) << "Pairing failed: " << error; |
} |
- return pairing_failed_tag != NULL; |
+ return pairing_failed_tag != nullptr; |
} |
void PairingAuthenticatorBase::CheckForFailedSpakeExchange( |
@@ -131,7 +131,7 @@ void PairingAuthenticatorBase::CheckForFailedSpakeExchange( |
using_paired_secret_ = false; |
error_message_ = "invalid-shared-secret"; |
v2_authenticator_.reset(); |
- buzz::XmlElement* no_message = NULL; |
+ buzz::XmlElement* no_message = nullptr; |
SetAuthenticatorCallback set_authenticator = base::Bind( |
&PairingAuthenticatorBase::SetAuthenticatorAndProcessMessage, |
weak_factory_.GetWeakPtr(), no_message, resume_callback); |