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

Unified Diff: bench/MagnifierBench.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/LineBench.cpp ('k') | bench/MathBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/MagnifierBench.cpp
diff --git a/bench/MagnifierBench.cpp b/bench/MagnifierBench.cpp
index 6d48a61f3e4260df78c91e418a7d4c2374d4138e..b5561a22a883b29a41231e515049d773b4464a81 100644
--- a/bench/MagnifierBench.cpp
+++ b/bench/MagnifierBench.cpp
@@ -17,8 +17,8 @@
class MagnifierBench : public SkBenchmark {
public:
- MagnifierBench(void* param, bool small) :
- INHERITED(param), fIsSmall(small), fInitialized(false) {
+ MagnifierBench(bool small) :
+ fIsSmall(small), fInitialized(false) {
}
protected:
@@ -83,5 +83,5 @@ private:
///////////////////////////////////////////////////////////////////////////////
-DEF_BENCH( return new MagnifierBench(p, true); )
-DEF_BENCH( return new MagnifierBench(p, false); )
+DEF_BENCH( return new MagnifierBench(true); )
+DEF_BENCH( return new MagnifierBench(false); )
« no previous file with comments | « bench/LineBench.cpp ('k') | bench/MathBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698