| 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 fe35f3868782610887ffdba35d151e55a2c9fb0c..f276d2eab1a303c409426d80da4e9c5cffbbf89a 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/FloatRect.cpp
|
| +++ b/third_party/WebKit/Source/platform/geometry/FloatRect.cpp
|
| @@ -60,7 +60,7 @@ FloatRect FloatRect::narrowPrecision(double x,
|
| clampTo<float>(height));
|
| }
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| bool FloatRect::mayNotHaveExactIntRectRepresentation() const {
|
| static const float maxExactlyExpressible = 1 << FLT_MANT_DIG;
|
| return fabs(x()) > maxExactlyExpressible ||
|
|
|