Index: third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp b/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp |
index c145537a7b1e30b20f13387463fd20a9ccde5cd6..4d00ea429e9fa14218d16f77ae1f3bc5fbec22ad 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp |
@@ -141,14 +141,14 @@ String ExceptionMessages::NotEnoughArguments(unsigned expected, |
} |
String ExceptionMessages::NotAFiniteNumber(double value, const char* name) { |
- ASSERT(!std::isfinite(value)); |
+ DCHECK(!std::isfinite(value)); |
return String::Format("The %s is %s.", name, |
std::isinf(value) ? "infinite" : "not a number"); |
} |
String ExceptionMessages::NotAFiniteNumber(const Decimal& value, |
const char* name) { |
- ASSERT(!value.IsFinite()); |
+ DCHECK(!value.IsFinite()); |
return String::Format("The %s is %s.", name, |
value.IsInfinity() ? "infinite" : "not a number"); |
} |