Index: remoting/host/pam_authorization_factory_posix.cc |
diff --git a/remoting/host/pam_authorization_factory_posix.cc b/remoting/host/pam_authorization_factory_posix.cc |
index 72f89d5c06b3554611513c633a7b93996d078a64..6e964e68ed290b32a582798efea36c862f18406b 100644 |
--- a/remoting/host/pam_authorization_factory_posix.cc |
+++ b/remoting/host/pam_authorization_factory_posix.cc |
@@ -111,8 +111,8 @@ bool PamAuthorizer::IsLocalLoginAllowed() { |
if (username.empty()) { |
return false; |
} |
- struct pam_conv conv = { PamConversation, NULL }; |
- pam_handle_t* handle = NULL; |
+ struct pam_conv conv = { PamConversation, nullptr }; |
+ pam_handle_t* handle = nullptr; |
int result = pam_start("chrome-remote-desktop", username.c_str(), |
&conv, &handle); |
if (result == PAM_SUCCESS) { |