Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Unified Diff: third_party/WebKit/Source/wtf/dtoa/utils.h

Issue 1992873004: Replace all occurrences of RELEASE_ASSERT in wtf with CHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];
}

Powered by Google App Engine
This is Rietveld 408576698