Index: third_party/WebKit/Source/platform/wtf/dtoa/utils.h |
diff --git a/third_party/WebKit/Source/platform/wtf/dtoa/utils.h b/third_party/WebKit/Source/platform/wtf/dtoa/utils.h |
index 588bf3db9a1685e6143ebd410a0c728d1e19e972..29ffd5b65a6744d92f1c4736813d024d6ec83a15 100644 |
--- a/third_party/WebKit/Source/platform/wtf/dtoa/utils.h |
+++ b/third_party/WebKit/Source/platform/wtf/dtoa/utils.h |
@@ -160,7 +160,8 @@ class Vector { |
// Access individual vector elements. |
T& operator[](int index) const { |
- RELEASE_ASSERT(0 <= index && index < length_); |
+ CHECK_LE(0, index); |
+ CHECK_LT(index, length_); |
return start_[index]; |
} |