aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/imagealphathreshold.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-07 16:04:01 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-07 16:04:01 +0000
commit9109e188c77abfd2832767530d33fdec35290a84 (patch)
treed29806201a7bf4b052bdba2949e26bb3abd6715d /gm/imagealphathreshold.cpp
parent179f6c5e62615ebf50cecae2a5479210084787f1 (diff)
Fix build warnings in SkAlphaThresholdFilter
BUG=None R=bsalomon@google.com Author: zork@chromium.org Review URL: https://codereview.chromium.org/101763010 git-svn-id: http://skia.googlecode.com/svn/trunk@12937 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/imagealphathreshold.cpp')
-rw-r--r--gm/imagealphathreshold.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/imagealphathreshold.cpp b/gm/imagealphathreshold.cpp
index 2839744a7f..7597090aa8 100644
--- a/gm/imagealphathreshold.cpp
+++ b/gm/imagealphathreshold.cpp
@@ -43,7 +43,7 @@ protected:
SkMatrix matrix;
matrix.reset();
matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f);
- matrix.postScale(.8, .8);
+ matrix.postScale(.8f, .8f);
canvas->concat(matrix);