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

Unified Diff: third_party/WebKit/Source/platform/network/FormDataEncoder.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/network/FormDataEncoder.cpp
diff --git a/third_party/WebKit/Source/platform/network/FormDataEncoder.cpp b/third_party/WebKit/Source/platform/network/FormDataEncoder.cpp
index ebf5460133e0f0cc1d1d55664e1095d344a81817..04f45ec3a442322ea4f374bbffd627674da90de2 100644
--- a/third_party/WebKit/Source/platform/network/FormDataEncoder.cpp
+++ b/third_party/WebKit/Source/platform/network/FormDataEncoder.cpp
@@ -79,7 +79,7 @@ static void AppendQuotedString(Vector<char>& buffer, const CString& string) {
WTF::TextEncoding FormDataEncoder::EncodingFromAcceptCharset(
const String& accept_charset,
const WTF::TextEncoding& fallback_encoding) {
- ASSERT(fallback_encoding.IsValid());
+ DCHECK(fallback_encoding.IsValid());
String normalized_accept_charset = accept_charset;
normalized_accept_charset.Replace(',', ' ');

Powered by Google App Engine
This is Rietveld 408576698