Index: cc/math_util.cc |
diff --git a/cc/math_util.cc b/cc/math_util.cc |
index 35a3b0b1bba99eb096897f61d56faa37be410cb1..f77300af6a44e3bff9b64b2139e800b0ffa4e0e0 100644 |
--- a/cc/math_util.cc |
+++ b/cc/math_util.cc |
@@ -197,7 +197,7 @@ gfx::RectF MathUtil::computeEnclosingClippedRect(const HomogeneousCoordinate& h1 |
bool somethingClipped = h1.shouldBeClipped() || h2.shouldBeClipped() || h3.shouldBeClipped() || h4.shouldBeClipped(); |
if (!somethingClipped) { |
FloatQuad mappedQuad = FloatQuad(h1.cartesianPoint2d(), h2.cartesianPoint2d(), h3.cartesianPoint2d(), h4.cartesianPoint2d()); |
- return cc::FloatRect(mappedQuad.boundingBox()); |
+ return mappedQuad.boundingBox(); |
} |
bool everythingClipped = h1.shouldBeClipped() && h2.shouldBeClipped() && h3.shouldBeClipped() && h4.shouldBeClipped(); |