Index: third_party/WebKit/Source/core/layout/shapes/BoxShape.cpp |
diff --git a/third_party/WebKit/Source/core/layout/shapes/BoxShape.cpp b/third_party/WebKit/Source/core/layout/shapes/BoxShape.cpp |
index bac2b8633abf3047be7168d344cd066472678959..9936413c9586c04921046a683080517d489a1d98 100644 |
--- a/third_party/WebKit/Source/core/layout/shapes/BoxShape.cpp |
+++ b/third_party/WebKit/Source/core/layout/shapes/BoxShape.cpp |
@@ -96,7 +96,7 @@ LineSegment BoxShape::getExcludedInterval(LayoutUnit logicalTop, |
x2 = std::max<float>(x2, maxXIntercept); |
} |
- ASSERT(x2 >= x1); |
+ DCHECK_GE(x2, x1); |
return LineSegment(x1, x2); |
} |