summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/TransactionCallbackInvoker.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-08-03 15:04:33 -0700
committer Siarhei Vishniakou <svv@google.com> 2022-08-04 02:47:39 +0000
commitaed7ad07e8ac7eba7ec22a1a763878ff27362224 (patch)
treeeb383211164404991e4e085255879cd60858d8a3 /services/surfaceflinger/TransactionCallbackInvoker.cpp
parentf9323e22ab5b78ab37a4a39865061f5b2cf5f2e7 (diff)
Use sp<>::make instead of new
For better refcount safety, use sp<>::make instead of new. After this change, sp<T> t = new T(args..) will be prohibited at compile time. Bug: 241125940 Test: m checkinput Change-Id: I27806ca8f41e8d67744f3569c87a64241318c20b
Diffstat (limited to 'services/surfaceflinger/TransactionCallbackInvoker.cpp')
0 files changed, 0 insertions, 0 deletions