Chromium Code Reviews| Index: third_party/WebKit/Source/wtf/dtoa/utils.h |
| diff --git a/third_party/WebKit/Source/wtf/dtoa/utils.h b/third_party/WebKit/Source/wtf/dtoa/utils.h |
| index dcc433f1ba3fd64130546a554a4d0ff283542244..674842d592952876d0fcdae1b7c6280ffcbe2ee4 100644 |
| --- a/third_party/WebKit/Source/wtf/dtoa/utils.h |
| +++ b/third_party/WebKit/Source/wtf/dtoa/utils.h |
| @@ -165,7 +165,8 @@ namespace double_conversion { |
| // Access individual vector elements. |
| T& operator[](int index) const { |
| - RELEASE_ASSERT(0 <= index && index < length_); |
| + CHECK(0 <= index); |
| + CHECK(index < length_); |
|
Yuta Kitamura
2016/05/20 07:12:56
CHECK_LE/LT?
kotenkov
2016/05/24 07:50:06
Done.
|
| return start_[index]; |
| } |