diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-28 22:42:31 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-28 22:42:31 +0000 |
commit | 793ddd994aae5a78b13fdbe24a6755085f7998cd (patch) | |
tree | bbcfc39d8d66d6ba90a03553da7fcaf23c05e78e | |
parent | 3c1594aacbd20c4583db300fc66e3c227bec4f6c (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
-rw-r--r-- | gm/blurrect.cpp | 2 |
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(); |