| Index: gm/filterbitmap.cpp
|
| diff --git a/gm/filterbitmap.cpp b/gm/filterbitmap.cpp
|
| index efb3d1077ad884f3f4c6837b4b20ce2d61edbbd9..371666dff545f7f12333789093900e1540603e3e 100644
|
| --- a/gm/filterbitmap.cpp
|
| +++ b/gm/filterbitmap.cpp
|
| @@ -36,7 +36,8 @@ static void load_bm(SkBitmap* bm) {
|
| static SkSize computeSize(const SkBitmap& bm, const SkMatrix& mat) {
|
| SkRect bounds = { 0, 0, bm.width(), bm.height() };
|
| mat.mapRect(&bounds);
|
| - return SkSize::Make(bounds.width(), bounds.height());
|
| + return SkSize::Make(SkIntToScalar(bounds.width()),
|
| + SkIntToScalar(bounds.height()));
|
| }
|
|
|
| static void draw_col(SkCanvas* canvas, const SkBitmap& bm, const SkMatrix& mat,
|
|
|