| Index: cc/tiles/software_image_decode_controller.cc
|
| diff --git a/cc/tiles/software_image_decode_controller.cc b/cc/tiles/software_image_decode_controller.cc
|
| index 96f5618a48f3d8e79a3b7fe343562e54643bfbf7..68d84f72f3022b11caff9a34d7ba851c3f54182c 100644
|
| --- a/cc/tiles/software_image_decode_controller.cc
|
| +++ b/cc/tiles/software_image_decode_controller.cc
|
| @@ -738,8 +738,9 @@ ImageDecodeControllerKey ImageDecodeControllerKey::FromDrawImage(
|
| gfx::Rect(image.image()->width(), image.image()->height()));
|
|
|
| gfx::Size target_size(
|
| - SkScalarRoundToInt(std::abs(src_rect.width() * scale.width())),
|
| - SkScalarRoundToInt(std::abs(src_rect.height() * scale.height())));
|
| + static_cast<int>(std::ceil(std::abs(src_rect.width() * scale.width()))),
|
| + static_cast<int>(
|
| + std::ceil(std::abs(src_rect.height() * scale.height()))));
|
|
|
| // Start with the quality that was requested.
|
| SkFilterQuality quality = image.filter_quality();
|
|
|