Index: samplecode/SampleSlides.cpp |
diff --git a/samplecode/SampleSlides.cpp b/samplecode/SampleSlides.cpp |
index 3dba7823316415d1c96d6be17a965d22e8578c87..9372d5d468f3fc804a0cfcbdfb6f04e2a0d7e821 100644 |
--- a/samplecode/SampleSlides.cpp |
+++ b/samplecode/SampleSlides.cpp |
@@ -80,7 +80,7 @@ static void one_d_pe(SkPaint* paint) { |
path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); |
path.close(); |
path.offset(SkIntToScalar(-6), 0); |
- scale(&path, SkFloatToScalar(1.5f)); |
+ scale(&path, 1.5f); |
paint->setPathEffect(new SkPath1DPathEffect(path, SkIntToScalar(21), 0, |
SkPath1DPathEffect::kRotate_Style))->unref(); |