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

Unified Diff: bench/PerlinNoiseBench.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/PathUtilsBench.cpp ('k') | bench/PicturePlaybackBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/PerlinNoiseBench.cpp
diff --git a/bench/PerlinNoiseBench.cpp b/bench/PerlinNoiseBench.cpp
index 605acf4f3678b2661ccda441beded9bc99cfcc63..7cbe5f8c8a2bda6c745894331117c34281440f0f 100644
--- a/bench/PerlinNoiseBench.cpp
+++ b/bench/PerlinNoiseBench.cpp
@@ -12,7 +12,7 @@ class PerlinNoiseBench : public SkBenchmark {
SkISize fSize;
public:
- PerlinNoiseBench(void* param) : INHERITED(param) {
+ PerlinNoiseBench() {
fSize = SkISize::Make(80, 80);
}
@@ -59,4 +59,4 @@ private:
///////////////////////////////////////////////////////////////////////////////
-DEF_BENCH( return new PerlinNoiseBench(p); )
+DEF_BENCH( return new PerlinNoiseBench(); )
« no previous file with comments | « bench/PathUtilsBench.cpp ('k') | bench/PicturePlaybackBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698