Index: bench/RectBench.cpp |
diff --git a/bench/RectBench.cpp b/bench/RectBench.cpp |
index 2937e5dafe5137f493ecf200ec997c7cddb80313..200fb0d330877abc8e9fa10234ce6a94255d4f87 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); |