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

Unified Diff: third_party/WebKit/Source/platform/wtf/dtoa/bignum-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/bignum-dtoa.cc
diff --git a/third_party/WebKit/Source/platform/wtf/dtoa/bignum-dtoa.cc b/third_party/WebKit/Source/platform/wtf/dtoa/bignum-dtoa.cc
index 5e1e143f43b4d7c87d337eae8ad70f7be5bc8259..bee7cf3c52b8647ea713ef757370164b42a6608b 100644
--- a/third_party/WebKit/Source/platform/wtf/dtoa/bignum-dtoa.cc
+++ b/third_party/WebKit/Source/platform/wtf/dtoa/bignum-dtoa.cc
@@ -88,7 +88,7 @@ namespace double_conversion {
void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
Vector<char> buffer, int* length, int* decimal_point) {
ASSERT(v > 0);
- ASSERT(!Double(v).IsSpecial());
+ DCHECK(!Double(v).IsSpecial());
uint64_t significand = Double(v).Significand();
bool is_even = (significand & 1) == 0;
int exponent = Double(v).Exponent();

Powered by Google App Engine
This is Rietveld 408576698