| Index: cc/base/math_util.cc
|
| diff --git a/cc/base/math_util.cc b/cc/base/math_util.cc
|
| index 04e301e3c569fd91e56b390d34b291d6ae8712b2..a91c474669aa1f4dab4c6ec8b9a0130fe480e41d 100644
|
| --- a/cc/base/math_util.cc
|
| +++ b/cc/base/math_util.cc
|
| @@ -202,7 +202,7 @@ gfx::Rect MathUtil::MapEnclosedRectWith2dAxisAlignedTransform(
|
| if (transform.IsIdentityOrTranslation()) {
|
| gfx::Vector2dF offset(transform.matrix().getFloat(0, 3),
|
| transform.matrix().getFloat(1, 3));
|
| - return gfx::ToEnclosedRect(rect + offset);
|
| + return gfx::ToEnclosedRect(gfx::RectF(rect) + offset);
|
| }
|
|
|
| SkMScalar quad[2 * 2]; // input: 2 x 2D points
|
|
|