Index: samplecode/SamplePicture.cpp |
diff --git a/samplecode/SamplePicture.cpp b/samplecode/SamplePicture.cpp |
index 7ae87571af9b88b64329eddeaae2edc52daa84e5..66289affe0992219b6466051e622061aff94ce64 100644 |
--- a/samplecode/SamplePicture.cpp |
+++ b/samplecode/SamplePicture.cpp |
@@ -104,7 +104,7 @@ protected: |
SkPaint paint; |
canvas->save(); |
- canvas->scale(SkFloatToScalar(0.5f), SkFloatToScalar(0.5f)); |
+ canvas->scale(0.5f, 0.5f); |
canvas->drawBitmap(fBitmap, 0, 0, NULL); |
canvas->restore(); |