From f8affa2e5cf9d4e0c8b020ba322f03355050794e Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Thu, 2 Jan 2014 07:01:35 +0000 Subject: Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@12853 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/RegionBench.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bench/RegionBench.cpp') diff --git a/bench/RegionBench.cpp b/bench/RegionBench.cpp index 4ab173a53b..21c10afd4e 100644 --- a/bench/RegionBench.cpp +++ b/bench/RegionBench.cpp @@ -132,10 +132,10 @@ public: rand.nextSScalar1(), rand.nextSScalar1()); r->sort(); } - + RectSectBench(bool newWay) : fNewWay(newWay) { fName.printf("rect_intersect_%s", newWay ? "new" : "old"); - + SkRandom rand; for (int i = 0; i < N; i++) { RandRect(&fArray0[i], rand); @@ -149,7 +149,7 @@ public: protected: virtual const char* onGetName() { return fName.c_str(); } - + virtual void onDraw(const int loops, SkCanvas* canvas) { for (int i = 0; i < loops; ++i) { if (fNewWay) { @@ -165,7 +165,7 @@ protected: } } } - + private: typedef SkBenchmark INHERITED; }; -- cgit v1.2.3