summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/Client.cpp')
-rw-r--r--services/surfaceflinger/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/Client.cpp b/services/surfaceflinger/Client.cpp
index ea6541a734..a69940a42e 100644
--- a/services/surfaceflinger/Client.cpp
+++ b/services/surfaceflinger/Client.cpp
@@ -206,7 +206,7 @@ status_t Client::destroySurface(const sp<IBinder>& handle) {
status_t Client::clearLayerFrameStats(const sp<IBinder>& handle) const {
sp<Layer> layer = getLayerUser(handle);
- if (layer == NULL) {
+ if (layer == nullptr) {
return NAME_NOT_FOUND;
}
layer->clearFrameStats();
@@ -215,7 +215,7 @@ status_t Client::clearLayerFrameStats(const sp<IBinder>& handle) const {
status_t Client::getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const {
sp<Layer> layer = getLayerUser(handle);
- if (layer == NULL) {
+ if (layer == nullptr) {
return NAME_NOT_FOUND;
}
layer->getFrameStats(outStats);