Index: third_party/WebKit/Source/core/layout/shapes/RectangleShape.cpp |
diff --git a/third_party/WebKit/Source/core/layout/shapes/RectangleShape.cpp b/third_party/WebKit/Source/core/layout/shapes/RectangleShape.cpp |
index 4e6fb896d94269febf458e9c1caa4d8ed55e88c5..4a4a535dbc83fa3fe0d873430223c31242bc9d79 100644 |
--- a/third_party/WebKit/Source/core/layout/shapes/RectangleShape.cpp |
+++ b/third_party/WebKit/Source/core/layout/shapes/RectangleShape.cpp |
@@ -34,12 +34,12 @@ |
namespace blink { |
static inline float ellipseXIntercept(float y, float rx, float ry) { |
- ASSERT(ry > 0); |
+ DCHECK_GT(ry, 0); |
return rx * sqrt(1 - (y * y) / (ry * ry)); |
} |
FloatRect RectangleShape::shapeMarginBounds() const { |
- ASSERT(shapeMargin() >= 0); |
+ DCHECK_GE(shapeMargin(), 0); |
if (!shapeMargin()) |
return m_bounds; |