Index: bench/ImageCacheBench.cpp |
diff --git a/bench/ImageCacheBench.cpp b/bench/ImageCacheBench.cpp |
index 5f1715fc3188cd6d7939921cd525635c9c25e335..e65d1fc3e860d86f44175b8b1d3fd34817456c87 100644 |
--- a/bench/ImageCacheBench.cpp |
+++ b/bench/ImageCacheBench.cpp |
@@ -37,7 +37,7 @@ protected: |
} |
virtual void onDraw(const int loops, SkCanvas*) SK_OVERRIDE { |
- if (fCache.getBytesUsed() == 0) { |
+ if (fCache.getTotalBytesUsed() == 0) { |
this->populateCache(); |
} |