diff options
author | 2022-08-03 15:04:33 -0700 | |
---|---|---|
committer | 2022-08-04 02:47:39 +0000 | |
commit | aed7ad07e8ac7eba7ec22a1a763878ff27362224 (patch) | |
tree | eb383211164404991e4e085255879cd60858d8a3 /services/surfaceflinger/TransactionCallbackInvoker.cpp | |
parent | f9323e22ab5b78ab37a4a39865061f5b2cf5f2e7 (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