Index: tests/ResourceCacheTest.cpp |
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp |
index fb1711372c7840b7bb29af678d1ada1c625f7a8f..7cebddb0ccd607d8c83ec9bf47db647b495e237c 100644 |
--- a/tests/ResourceCacheTest.cpp |
+++ b/tests/ResourceCacheTest.cpp |
@@ -99,8 +99,6 @@ public: |
this->didChangeGpuMemorySize(); |
} |
- size_t gpuMemorySize() const SK_OVERRIDE { return fSize; } |
- |
static int NumAlive() { return fNumAlive; } |
void setDeleteWhenDestroyed(GrResourceCache* cache, TestResource* resource) { |
@@ -109,6 +107,8 @@ public: |
} |
private: |
+ size_t onGpuMemorySize() const SK_OVERRIDE { return fSize; } |
+ |
GrResourceCache* fCache; |
TestResource* fToDelete; |
size_t fSize; |