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); |