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

Unified Diff: bench/ImageCacheBench.cpp

Issue 23876006: Refactoring: get rid of the SkBenchmark void* parameter. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: sync to head Created 7 years, 3 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 | « bench/HairlinePathBench.cpp ('k') | bench/ImageDecodeBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/ImageCacheBench.cpp
diff --git a/bench/ImageCacheBench.cpp b/bench/ImageCacheBench.cpp
index c0a2d3dafa397dc213ebc8c26d1e775cf3645ec4..ea295fd094d65c6d92afa1efc528d64303478505 100644
--- a/bench/ImageCacheBench.cpp
+++ b/bench/ImageCacheBench.cpp
@@ -17,7 +17,7 @@ class ImageCacheBench : public SkBenchmark {
CACHE_COUNT = 500
};
public:
- ImageCacheBench(void* param) : INHERITED(param) , fCache(CACHE_COUNT * 100) {
+ ImageCacheBench() : fCache(CACHE_COUNT * 100) {
fBM.setConfig(SkBitmap::kARGB_8888_Config, DIM, DIM);
fBM.allocPixels();
}
@@ -56,4 +56,4 @@ private:
///////////////////////////////////////////////////////////////////////////////
-DEF_BENCH( return new ImageCacheBench(p); )
+DEF_BENCH( return new ImageCacheBench(); )
« no previous file with comments | « bench/HairlinePathBench.cpp ('k') | bench/ImageDecodeBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698