Index: remoting/host/win/com_security.cc |
diff --git a/remoting/host/win/com_security.cc b/remoting/host/win/com_security.cc |
index 9cefaad2d74b5800abd978d44ef7d32428cac745..97e644b03415c19253f33d498b2ec2f133f3579a 100644 |
--- a/remoting/host/win/com_security.cc |
+++ b/remoting/host/win/com_security.cc |
@@ -48,13 +48,13 @@ bool InitializeComSecurity(const std::string& security_descriptor, |
HRESULT result = CoInitializeSecurity( |
absolute_sd.get(), |
-1, // Let COM choose which authentication services to register. |
- NULL, // See above. |
- NULL, // Reserved, must be NULL. |
+ nullptr, // See above. |
+ nullptr, // Reserved, must be nullptr. |
RPC_C_AUTHN_LEVEL_PKT_PRIVACY, |
RPC_C_IMP_LEVEL_IDENTIFY, |
- NULL, // Default authentication information is not provided. |
+ nullptr, // Default authentication information is not provided. |
capabilities, |
- NULL); /// Reserved, must be NULL |
+ nullptr); /// Reserved, must be nullptr |
if (FAILED(result)) { |
LOG(ERROR) << "CoInitializeSecurity() failed, result=0x" |
<< std::hex << result << std::dec << "."; |