summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/ClientCache.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2022-08-01 16:18:03 -0700
committer Ady Abraham <adyabr@google.com> 2022-08-01 16:23:25 -0700
commitd11bade4e5d7b7818090d775f0bb4dea9d719206 (patch)
treefc49aea275d69b819644224dea38d39a1802d1a0 /services/surfaceflinger/ClientCache.cpp
parentc525efb611803c572e2f1154655e1e8fcdfeef30 (diff)
SF: build with ANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION
Change-Id: I347b2cf57f1df426d11d07a84075419597d4a442 Test: presubmit
Diffstat (limited to 'services/surfaceflinger/ClientCache.cpp')
-rw-r--r--services/surfaceflinger/ClientCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/ClientCache.cpp b/services/surfaceflinger/ClientCache.cpp
index 3c7b9d93aa..cf932a86c2 100644
--- a/services/surfaceflinger/ClientCache.cpp
+++ b/services/surfaceflinger/ClientCache.cpp
@@ -30,7 +30,7 @@ namespace android {
ANDROID_SINGLETON_STATIC_INSTANCE(ClientCache);
-ClientCache::ClientCache() : mDeathRecipient(new CacheDeathRecipient) {}
+ClientCache::ClientCache() : mDeathRecipient(sp<CacheDeathRecipient>::make()) {}
bool ClientCache::getBuffer(const client_cache_t& cacheId,
ClientCacheBuffer** outClientCacheBuffer) {