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

Unified Diff: third_party/WebKit/Source/platform/Decimal.h

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/Decimal.h
diff --git a/third_party/WebKit/Source/platform/Decimal.h b/third_party/WebKit/Source/platform/Decimal.h
index 01b8b9cf04c3c96b518f1d5c591e59fd921417c7..19d06b702654f5c346363cc9af8b38878c9e44fe 100644
--- a/third_party/WebKit/Source/platform/Decimal.h
+++ b/third_party/WebKit/Source/platform/Decimal.h
@@ -128,7 +128,7 @@ class PLATFORM_EXPORT Decimal {
Decimal operator/(const Decimal&) const;
int Exponent() const {
- ASSERT(IsFinite());
+ DCHECK(IsFinite());
return data_.Exponent();
}
« no previous file with comments | « third_party/WebKit/Source/platform/DateComponents.cpp ('k') | third_party/WebKit/Source/platform/Decimal.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698