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

Unified Diff: third_party/WebKit/Source/platform/text/LocaleMac.mm

Issue 2811453002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/text (Closed)
Patch Set: fix 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/text/LocaleMac.mm
diff --git a/third_party/WebKit/Source/platform/text/LocaleMac.mm b/third_party/WebKit/Source/platform/text/LocaleMac.mm
index eb144daa953cc9a4116c3d04c8118990614a1dcf..c46295825c8787bdfbe3d3bf1dfcc55521c16791 100644
--- a/third_party/WebKit/Source/platform/text/LocaleMac.mm
+++ b/third_party/WebKit/Source/platform/text/LocaleMac.mm
@@ -316,11 +316,11 @@ void LocaleMac::InitializeLocaleData() {
Vector<String, kDecimalSymbolsSize> symbols;
for (unsigned i = 0; i < 10; ++i)
symbols.push_back(nine_to_zero.Substring(9 - i, 1));
- ASSERT(symbols.size() == kDecimalSeparatorIndex);
+ DCHECK(symbols.size() == kDecimalSeparatorIndex);
symbols.push_back([formatter.Get() decimalSeparator]);
- ASSERT(symbols.size() == kGroupSeparatorIndex);
+ DCHECK(symbols.size() == kGroupSeparatorIndex);
symbols.push_back([formatter.Get() groupingSeparator]);
- ASSERT(symbols.size() == kDecimalSymbolsSize);
+ DCHECK(symbols.size() == kDecimalSymbolsSize);
String positive_prefix([formatter.Get() positivePrefix]);
String positive_suffix([formatter.Get() positiveSuffix]);
« no previous file with comments | « third_party/WebKit/Source/platform/text/LocaleICU.cpp ('k') | third_party/WebKit/Source/platform/text/LocaleWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698