summaryrefslogtreecommitdiff
path: root/services/inputflinger/InputWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'services/inputflinger/InputWindow.cpp')
-rw-r--r--services/inputflinger/InputWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/inputflinger/InputWindow.cpp b/services/inputflinger/InputWindow.cpp
index 3ae7972779..0d1dfddb07 100644
--- a/services/inputflinger/InputWindow.cpp
+++ b/services/inputflinger/InputWindow.cpp
@@ -66,7 +66,7 @@ bool InputWindowInfo::overlaps(const InputWindowInfo* other) const {
// --- InputWindowHandle ---
InputWindowHandle::InputWindowHandle(const sp<InputApplicationHandle>& inputApplicationHandle) :
- inputApplicationHandle(inputApplicationHandle), mInfo(NULL) {
+ inputApplicationHandle(inputApplicationHandle), mInfo(nullptr) {
}
InputWindowHandle::~InputWindowHandle() {
@@ -76,7 +76,7 @@ InputWindowHandle::~InputWindowHandle() {
void InputWindowHandle::releaseInfo() {
if (mInfo) {
delete mInfo;
- mInfo = NULL;
+ mInfo = nullptr;
}
}