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

Unified Diff: bench/RectoriBench.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/RectBench.cpp ('k') | bench/RefCntBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/RectoriBench.cpp
diff --git a/bench/RectoriBench.cpp b/bench/RectoriBench.cpp
index 0a0b71dac6a4b95bc50754ba06e88788a14be239..df695d51dcf3d3bfb068064670fe2f8fb7f311ad 100644
--- a/bench/RectoriBench.cpp
+++ b/bench/RectoriBench.cpp
@@ -16,7 +16,7 @@
// to create an inner blurred rect
class RectoriBench : public SkBenchmark {
public:
- RectoriBench(void* param) : INHERITED(param) {}
+ RectoriBench() {}
protected:
@@ -102,5 +102,4 @@ private:
typedef SkBenchmark INHERITED;
};
-
-DEF_BENCH( return SkNEW_ARGS(RectoriBench, (p)); )
+DEF_BENCH( return SkNEW_ARGS(RectoriBench, ()); )
« no previous file with comments | « bench/RectBench.cpp ('k') | bench/RefCntBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698