Index: samplecode/SampleFilter2.cpp |
diff --git a/samplecode/SampleFilter2.cpp b/samplecode/SampleFilter2.cpp |
index e98277823454f0dfe5fa8f8efdbc2205fc15575d..b4314c5a5c1850cd561658246a67291daca08fdf 100644 |
--- a/samplecode/SampleFilter2.cpp |
+++ b/samplecode/SampleFilter2.cpp |
@@ -72,7 +72,7 @@ protected: |
const SkScalar H = SkIntToScalar(fBitmaps[0].height() + 1); |
SkPaint paint; |
- const SkScalar scale = SkFloatToScalar(0.897917f); |
+ const SkScalar scale = 0.897917f; |
canvas->scale(SK_Scalar1, scale); |
for (int k = 0; k < 2; k++) { |