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

Unified Diff: bench/MergeBench.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/MemsetBench.cpp ('k') | bench/MorphologyBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/MergeBench.cpp
diff --git a/bench/MergeBench.cpp b/bench/MergeBench.cpp
index 98a918af0234a9448ec30b228ac96d6034b9cd05..51be22f2845e87f48294fa9144407b1d765631a0 100644
--- a/bench/MergeBench.cpp
+++ b/bench/MergeBench.cpp
@@ -17,8 +17,7 @@
class MergeBench : public SkBenchmark {
public:
- MergeBench(void* param, bool small) : INHERITED(param), fIsSmall(small), fInitialized(false) {
- }
+ MergeBench(bool small) : fIsSmall(small), fInitialized(false) { }
protected:
virtual const char* onGetName() SK_OVERRIDE {
@@ -98,5 +97,5 @@ private:
///////////////////////////////////////////////////////////////////////////////
-DEF_BENCH( return new MergeBench(p, true); )
-DEF_BENCH( return new MergeBench(p, false); )
+DEF_BENCH( return new MergeBench(true); )
+DEF_BENCH( return new MergeBench(false); )
« no previous file with comments | « bench/MemsetBench.cpp ('k') | bench/MorphologyBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698