summaryrefslogtreecommitdiffstats
path: root/remoting/host/local_input_monitor_win.cc
diff options
context:
space:
mode:
authorsergeyu <sergeyu@chromium.org>2015-01-09 11:33:24 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-09 19:34:12 +0000
commitc5f104b31e1a640e4adaeaac7fca30c72eb04138 (patch)
treef1de6d1828d8eaef25a9aa4e07a4a4d46764f045 /remoting/host/local_input_monitor_win.cc
parenta261cb0d164c411e916fb62f4c560ce5acb260f3 (diff)
downloadchromium_src-c5f104b31e1a640e4adaeaac7fca30c72eb04138.zip
chromium_src-c5f104b31e1a640e4adaeaac7fca30c72eb04138.tar.gz
chromium_src-c5f104b31e1a640e4adaeaac7fca30c72eb04138.tar.bz2
replace NULL->nullptr in src/remoting.
Review URL: https://codereview.chromium.org/810133003 Cr-Commit-Position: refs/heads/master@{#310816}
Diffstat (limited to 'remoting/host/local_input_monitor_win.cc')
-rw-r--r--remoting/host/local_input_monitor_win.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/local_input_monitor_win.cc b/remoting/host/local_input_monitor_win.cc
index a387b80..969c5a9 100644
--- a/remoting/host/local_input_monitor_win.cc
+++ b/remoting/host/local_input_monitor_win.cc
@@ -148,7 +148,7 @@ void LocalInputMonitorWin::Core::StopOnUiThread() {
device.dwFlags = RIDEV_REMOVE;
device.usUsagePage = kGenericDesktopPage;
device.usUsage = kMouseUsage;
- device.hwndTarget = NULL;
+ device.hwndTarget = nullptr;
// The error is harmless, ignore it.
RegisterRawInputDevices(&device, 1, sizeof(device));
@@ -164,7 +164,7 @@ LRESULT LocalInputMonitorWin::Core::OnInput(HRAWINPUT input_handle) {
UINT size = 0;
UINT result = GetRawInputData(input_handle,
RID_INPUT,
- NULL,
+ nullptr,
&size,
sizeof(RAWINPUTHEADER));
if (result == -1) {
@@ -188,7 +188,7 @@ LRESULT LocalInputMonitorWin::Core::OnInput(HRAWINPUT input_handle) {
// Notify the observer about mouse events generated locally. Remote (injected)
// mouse events do not specify a device handle (based on observed behavior).
if (input->header.dwType == RIM_TYPEMOUSE &&
- input->header.hDevice != NULL) {
+ input->header.hDevice != nullptr) {
POINT position;
if (!GetCursorPos(&position)) {
position.x = 0;