| Index: third_party/WebKit/Source/platform/geometry/FloatRect.cpp
|
| diff --git a/third_party/WebKit/Source/platform/geometry/FloatRect.cpp b/third_party/WebKit/Source/platform/geometry/FloatRect.cpp
|
| index 75184861aed12ecfbe6bf94f0b65d0116fe91214..391ad0215c3515de411d8bb7b9e0a8cca1969c74 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/FloatRect.cpp
|
| +++ b/third_party/WebKit/Source/platform/geometry/FloatRect.cpp
|
| @@ -26,7 +26,6 @@
|
|
|
| #include "platform/geometry/FloatRect.h"
|
|
|
| -#include "platform/FloatConversion.h"
|
| #include "platform/geometry/IntRect.h"
|
| #include "platform/geometry/LayoutRect.h"
|
| #include "third_party/skia/include/core/SkRect.h"
|
| @@ -60,7 +59,7 @@ void FloatRect::move(const IntSize& delta)
|
|
|
| FloatRect FloatRect::narrowPrecision(double x, double y, double width, double height)
|
| {
|
| - return FloatRect(narrowPrecisionToFloat(x), narrowPrecisionToFloat(y), narrowPrecisionToFloat(width), narrowPrecisionToFloat(height));
|
| + return FloatRect(clampTo<float>(x), clampTo<float>(y), clampTo<float>(width), clampTo<float>(height));
|
| }
|
|
|
| #if ENABLE(ASSERT)
|
|
|