Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: src/lazy/SkDiscardableMemoryPool.cpp

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/lazy/SkCachingPixelRef.h ('k') | src/lazy/SkDiscardablePixelRef.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lazy/SkDiscardableMemoryPool.cpp
diff --git a/src/lazy/SkDiscardableMemoryPool.cpp b/src/lazy/SkDiscardableMemoryPool.cpp
index 96d6046f3fb6c4f6e80eff1d8cf91a22b06dd946..2da8335ff859b06bd7ff4d4b513675b80f583f86 100644
--- a/src/lazy/SkDiscardableMemoryPool.cpp
+++ b/src/lazy/SkDiscardableMemoryPool.cpp
@@ -32,19 +32,19 @@ public:
DiscardableMemoryPool(size_t budget, SkBaseMutex* mutex = NULL);
virtual ~DiscardableMemoryPool();
- virtual SkDiscardableMemory* create(size_t bytes) SK_OVERRIDE;
+ SkDiscardableMemory* create(size_t bytes) SK_OVERRIDE;
- virtual size_t getRAMUsed() SK_OVERRIDE;
- virtual void setRAMBudget(size_t budget) SK_OVERRIDE;
- virtual size_t getRAMBudget() SK_OVERRIDE { return fBudget; }
+ size_t getRAMUsed() SK_OVERRIDE;
+ void setRAMBudget(size_t budget) SK_OVERRIDE;
+ size_t getRAMBudget() SK_OVERRIDE { return fBudget; }
/** purges all unlocked DMs */
- virtual void dumpPool() SK_OVERRIDE;
+ void dumpPool() SK_OVERRIDE;
#if SK_LAZY_CACHE_STATS // Defined in SkDiscardableMemoryPool.h
- virtual int getCacheHits() SK_OVERRIDE { return fCacheHits; }
- virtual int getCacheMisses() SK_OVERRIDE { return fCacheMisses; }
- virtual void resetCacheHitsAndMisses() SK_OVERRIDE {
+ int getCacheHits() SK_OVERRIDE { return fCacheHits; }
+ int getCacheMisses() SK_OVERRIDE { return fCacheMisses; }
+ void resetCacheHitsAndMisses() SK_OVERRIDE {
fCacheHits = fCacheMisses = 0;
}
int fCacheHits;
@@ -80,9 +80,9 @@ public:
PoolDiscardableMemory(DiscardableMemoryPool* pool,
void* pointer, size_t bytes);
virtual ~PoolDiscardableMemory();
- virtual bool lock() SK_OVERRIDE;
- virtual void* data() SK_OVERRIDE;
- virtual void unlock() SK_OVERRIDE;
+ bool lock() SK_OVERRIDE;
+ void* data() SK_OVERRIDE;
+ void unlock() SK_OVERRIDE;
friend class DiscardableMemoryPool;
private:
SK_DECLARE_INTERNAL_LLIST_INTERFACE(PoolDiscardableMemory);
« no previous file with comments | « src/lazy/SkCachingPixelRef.h ('k') | src/lazy/SkDiscardablePixelRef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698