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

Unified Diff: third_party/WebKit/Source/platform/Language.cpp

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/Language.cpp
diff --git a/third_party/WebKit/Source/platform/Language.cpp b/third_party/WebKit/Source/platform/Language.cpp
index 703a6f2b30a6b61f1f1fad66e54eaad645a55ebc..1ab1f32727b2078d9576374760716d64cdb6cc69 100644
--- a/third_party/WebKit/Source/platform/Language.cpp
+++ b/third_party/WebKit/Source/platform/Language.cpp
@@ -42,7 +42,7 @@ static const AtomicString& PlatformLanguage() {
if (computed_default_language.IsEmpty()) {
computed_default_language = AtomicString(
CanonicalizeLanguageIdentifier(Platform::Current()->DefaultLocale()));
- ASSERT(!computed_default_language.IsEmpty());
+ DCHECK(!computed_default_language.IsEmpty());
}
return computed_default_language;
}

Powered by Google App Engine
This is Rietveld 408576698