| Index: remoting/host/curtain_mode_linux.cc
|
| diff --git a/remoting/host/curtain_mode_linux.cc b/remoting/host/curtain_mode_linux.cc
|
| index 696af4e4935e39ec6f27520c38612db19185a710..3e917b0c3573f9c3cd594dc2f820a137d7b57f86 100644
|
| --- a/remoting/host/curtain_mode_linux.cc
|
| +++ b/remoting/host/curtain_mode_linux.cc
|
| @@ -47,7 +47,7 @@ bool CurtainModeLinux::IsXvfbSession() {
|
| // Try to identify an Xvfb session. There's no way to query what X server we
|
| // are running under, so we check for the Xvfb input devices.
|
| // TODO(rmsousa): Find a similar way to determine that the *output* is secure.
|
| - Display* display = XOpenDisplay(NULL);
|
| + Display* display = XOpenDisplay(nullptr);
|
| int opcode, event, error;
|
| if (!XQueryExtension(display, "XInputExtension", &opcode, &event, &error)) {
|
| // If XInput is not available, assume it is not an Xvfb session.
|
|
|