aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/lazy/SkDiscardableMemoryPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lazy/SkDiscardableMemoryPool.cpp')
-rw-r--r--src/lazy/SkDiscardableMemoryPool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lazy/SkDiscardableMemoryPool.cpp b/src/lazy/SkDiscardableMemoryPool.cpp
index fece7f0d6f..2cb1b3f22b 100644
--- a/src/lazy/SkDiscardableMemoryPool.cpp
+++ b/src/lazy/SkDiscardableMemoryPool.cpp
@@ -31,7 +31,7 @@ public:
* Without mutex, will be not be thread safe.
*/
DiscardableMemoryPool(size_t budget, SkBaseMutex* mutex = nullptr);
- virtual ~DiscardableMemoryPool();
+ ~DiscardableMemoryPool() override;
SkDiscardableMemory* create(size_t bytes) override;
@@ -80,7 +80,7 @@ class PoolDiscardableMemory : public SkDiscardableMemory {
public:
PoolDiscardableMemory(DiscardableMemoryPool* pool,
void* pointer, size_t bytes);
- virtual ~PoolDiscardableMemory();
+ ~PoolDiscardableMemory() override;
bool lock() override;
void* data() override;
void unlock() override;