Index: third_party/WebKit/Source/core/layout/shapes/ShapeInterval.h |
diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeInterval.h b/third_party/WebKit/Source/core/layout/shapes/ShapeInterval.h |
index b55f2e672c0ece78d0019d753b49c45ca261b92e..e21ef89b6a7ca7c8986ffc1625289ccc23f592b6 100644 |
--- a/third_party/WebKit/Source/core/layout/shapes/ShapeInterval.h |
+++ b/third_party/WebKit/Source/core/layout/shapes/ShapeInterval.h |
@@ -45,7 +45,7 @@ class ShapeInterval { |
DCHECK(isUndefined()); |
} |
- ShapeInterval(T x1, T x2) : m_x1(x1), m_x2(x2) { DCHECK(x2 >= x1); } |
+ ShapeInterval(T x1, T x2) : m_x1(x1), m_x2(x2) { DCHECK_GE(x2, x1); } |
bool isUndefined() const { return m_x2 < m_x1; } |
T x1() const { return isUndefined() ? 0 : m_x1; } |