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

Unified Diff: samplecode/ClockFaceView.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 | « include/core/SkScalar.h ('k') | samplecode/SampleAARects.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/ClockFaceView.cpp
diff --git a/samplecode/ClockFaceView.cpp b/samplecode/ClockFaceView.cpp
index 1e9b89e9de698ea0235c76bac2f36ee5e5729fc9..32c8161aca0071980dd465e92cdcc9996edc8e95 100644
--- a/samplecode/ClockFaceView.cpp
+++ b/samplecode/ClockFaceView.cpp
@@ -154,7 +154,7 @@ static void apply_shader(SkPaint* paint, float scale)
SkLayerRasterizer* rast = new SkLayerRasterizer;
p.setAntiAlias(true);
- r7(rast, p, SkFloatToScalar(scale));
+ r7(rast, p, scale);
paint->setRasterizer(rast)->unref();
paint->setColor(SK_ColorBLUE);
« no previous file with comments | « include/core/SkScalar.h ('k') | samplecode/SampleAARects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698