summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Marco Nelissen <marcone@google.com> 2014-11-17 18:14:15 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-11-17 18:14:16 +0000
commit55f71bc0800b9ec7a779c5d30d5a90e074c2526b (patch)
tree1c2f6c7b2fc2b71aab6759a0b1d8de22db46e830 /libs/gui/ISurfaceComposerClient.cpp
parentd72ff140e0df44106cd8539396ce686aa8f3306a (diff)
parent097ca275f4717a2c47a5d49f302ed2b72c8a1370 (diff)
Merge "Replace IInterface::asBinder() with a static"
Diffstat (limited to 'libs/gui/ISurfaceComposerClient.cpp')
-rw-r--r--libs/gui/ISurfaceComposerClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/ISurfaceComposerClient.cpp b/libs/gui/ISurfaceComposerClient.cpp
index f199e9f7b3..de4d8c18a6 100644
--- a/libs/gui/ISurfaceComposerClient.cpp
+++ b/libs/gui/ISurfaceComposerClient.cpp
@@ -114,7 +114,7 @@ status_t BnSurfaceComposerClient::onTransact(
status_t result = createSurface(name, w, h, format, flags,
&handle, &gbp);
reply->writeStrongBinder(handle);
- reply->writeStrongBinder(gbp != NULL ? gbp->asBinder() : NULL);
+ reply->writeStrongBinder(IInterface::asBinder(gbp));
reply->writeInt32(result);
return NO_ERROR;
} break;