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
diff --git a/gm/blurrect.cpp b/gm/blurrect.cpp
index a56c51b..0ea6f87 100644
--- a/gm/blurrect.cpp
+++ b/gm/blurrect.cpp
@@ -203,7 +203,7 @@
}
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();