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

Unified Diff: third_party/WebKit/Source/platform/wtf/dtoa/double-conversion.cc

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase Created 3 years, 8 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/platform/wtf/dtoa/double-conversion.cc
diff --git a/third_party/WebKit/Source/platform/wtf/dtoa/double-conversion.cc b/third_party/WebKit/Source/platform/wtf/dtoa/double-conversion.cc
index 96fbdce3d047b96d48f76c26c0eddc365cd3f83d..15a638413a4d9eb6f4db7b22a8c31760a238651b 100644
--- a/third_party/WebKit/Source/platform/wtf/dtoa/double-conversion.cc
+++ b/third_party/WebKit/Source/platform/wtf/dtoa/double-conversion.cc
@@ -358,7 +358,7 @@ namespace double_conversion {
int* length,
int* point) {
Vector<char> vector(buffer, buffer_length);
- ASSERT(!Double(v).IsSpecial());
+ DCHECK(!Double(v).IsSpecial());
ASSERT(mode == SHORTEST || requested_digits >= 0);
if (Double(v).Sign() < 0) {
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/dtoa/bignum-dtoa.cc ('k') | third_party/WebKit/Source/platform/wtf/dtoa/fast-dtoa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698