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

Unified Diff: bench/RectBench.cpp

Issue 85463005: remove SkFloatToScalar macro (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add flag to expose SkFloatToScalar to chromium Created 7 years, 1 month 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/MorphologyBench.cpp ('k') | experimental/DrawingBoard/SampleDrawingClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « bench/MorphologyBench.cpp ('k') | experimental/DrawingBoard/SampleDrawingClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698