diff options
author | 2025-02-13 22:37:35 -0800 | |
---|---|---|
committer | 2025-02-13 22:37:35 -0800 | |
commit | 75177e8983c9f48f042cf75516dacdb21524618f (patch) | |
tree | 86856e0f5e6a030000971005d78fbef1eb904dbf | |
parent | 5555f7c85b1867d523cb41d5cdbe6c5be290f985 (diff) |
Harden construction sites of android::StrongPointer.
Bug: 393217449
Test: presubmit
Flag: EXEMPT_refactor
Change-Id: I913683213590dc0702935c111c85fbea678671f2
-rw-r--r-- | libs/hostgraphics/Fence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hostgraphics/Fence.cpp b/libs/hostgraphics/Fence.cpp index 4383bf02a00e..938a9384768d 100644 --- a/libs/hostgraphics/Fence.cpp +++ b/libs/hostgraphics/Fence.cpp @@ -18,6 +18,6 @@ namespace android { -const sp<Fence> Fence::NO_FENCE = sp<Fence>(new Fence); +const sp<Fence> Fence::NO_FENCE = sp<Fence>::make(); } // namespace android |