aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/RectBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/RectBench.cpp')
-rw-r--r--bench/RectBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/RectBench.cpp b/bench/RectBench.cpp
index 2937e5dafe..200fb0d330 100644
--- a/bench/RectBench.cpp
+++ b/bench/RectBench.cpp
@@ -186,7 +186,7 @@ protected:
}
virtual void onDraw(SkCanvas* canvas) {
- static const SkScalar kHalfRectSize = SkFloatToScalar(0.75f);
+ static const SkScalar kHalfRectSize = 0.75f;
SkPaint paint;
this->setupPaint(&paint);