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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp

Issue 2862963003: Replace ASSERT with DCHECK in modules/ (Closed)
Patch Set: NOTREACHED instead of DCHECK(false) Created 3 years, 7 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/modules/credentialmanager/PasswordCredential.cpp
diff --git a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
index 55dbf250aacad4f97ab6718739dd682b4de89951..8336951f821d8898d2c15b9d34eafd6b6fb5e23d 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
@@ -92,7 +92,7 @@ PasswordCredential* PasswordCredential::Create(
PasswordCredential::Create(data, exception_state);
if (exception_state.HadException())
return nullptr;
- ASSERT(credential);
+ DCHECK(credential);
// After creating the Credential, populate its 'additionalData', 'idName', and
// 'passwordName' attributes. If the form's 'enctype' is anything other than

Powered by Google App Engine
This is Rietveld 408576698