aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/blurrect.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-28 22:42:31 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-28 22:42:31 +0000
commit793ddd994aae5a78b13fdbe24a6755085f7998cd (patch)
treebbcfc39d8d66d6ba90a03553da7fcaf23c05e78e /gm/blurrect.cpp
parent3c1594aacbd20c4583db300fc66e3c227bec4f6c (diff)
Shut up windows build errors on new GM
BUG=skia: R=mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/300973005 git-svn-id: http://skia.googlecode.com/svn/trunk@14941 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/blurrect.cpp')
-rw-r--r--gm/blurrect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/blurrect.cpp b/gm/blurrect.cpp
index a56c51b3ca..0ea6f87071 100644
--- a/gm/blurrect.cpp
+++ b/gm/blurrect.cpp
@@ -203,7 +203,7 @@ protected:
}
canvas->save();
- canvas->translate(cur_x, cur_y);
+ canvas->translate((SkScalar)cur_x, (SkScalar)cur_y);
canvas->translate(-(bm.width() - r.width())/2, -(bm.height()-r.height())/2);
canvas->drawBitmap(bm, 0.f, 0.f, NULL);
canvas->restore();