diff options
Diffstat (limited to 'src/lazy/SkDiscardableMemoryPool.h')
-rw-r--r-- | src/lazy/SkDiscardableMemoryPool.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lazy/SkDiscardableMemoryPool.h b/src/lazy/SkDiscardableMemoryPool.h index 92ba48bcb4..f7beaad581 100644 --- a/src/lazy/SkDiscardableMemoryPool.h +++ b/src/lazy/SkDiscardableMemoryPool.h @@ -52,8 +52,7 @@ public: * the pool works. * Without mutex, will be not be thread safe. */ - static SkDiscardableMemoryPool* Create( - size_t size, SkBaseMutex* mutex = nullptr); + static sk_sp<SkDiscardableMemoryPool> Make(size_t size, SkBaseMutex* mutex = nullptr); }; /** |