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

Unified Diff: third_party/WebKit/Source/platform/wtf/dtoa/fast-dtoa.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/fast-dtoa.cc
diff --git a/third_party/WebKit/Source/platform/wtf/dtoa/fast-dtoa.cc b/third_party/WebKit/Source/platform/wtf/dtoa/fast-dtoa.cc
index f63bb6353251466a8b31f3ae2b561efe04971fc9..a2613ca384779a970ad880b9db488ef183010644 100644
--- a/third_party/WebKit/Source/platform/wtf/dtoa/fast-dtoa.cc
+++ b/third_party/WebKit/Source/platform/wtf/dtoa/fast-dtoa.cc
@@ -714,7 +714,7 @@ namespace double_conversion {
int* length,
int* decimal_point) {
ASSERT(v > 0);
- ASSERT(!Double(v).IsSpecial());
+ DCHECK(!Double(v).IsSpecial());
bool result = false;
int decimal_exponent = 0;

Powered by Google App Engine
This is Rietveld 408576698