Index: gm/gmmain.cpp |
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp |
index cf9e25b4822009aee4851d4b65c142d5d1c210b3..5d6481c34d8e5afd92edd5a28cdb9d693c10cfca 100644 |
--- a/gm/gmmain.cpp |
+++ b/gm/gmmain.cpp |
@@ -1011,8 +1011,8 @@ public: |
static SkPicture* generate_new_picture(GM* gm, BbhType bbhType, uint32_t recordFlags, |
SkScalar scale = SK_Scalar1) { |
- int width = SkScalarCeilToInt(SkScalarMul(SkIntToScalar(gm->getISize().width()), scale)); |
- int height = SkScalarCeilToInt(SkScalarMul(SkIntToScalar(gm->getISize().height()), scale)); |
+ SkScalar width = SkScalarMul(SkIntToScalar(gm->getISize().width()), scale); |
+ SkScalar height = SkScalarMul(SkIntToScalar(gm->getISize().height()), scale); |
SkAutoTDelete<SkBBHFactory> factory; |
if (kTileGrid_BbhType == bbhType) { |