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

Unified Diff: third_party/WebKit/Source/core/html/forms/PasswordInputType.cpp

Issue 2097313002: Replace ASSERT macros with DCHECK, etc. in core/html/forms/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/core/html/forms/PasswordInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/PasswordInputType.cpp b/third_party/WebKit/Source/core/html/forms/PasswordInputType.cpp
index 764329a6315138dacea45ee6da9ddc32e8f94d04..a2453cbdf41c9e27cfa9d9ff688359a1f745c3a4 100644
--- a/third_party/WebKit/Source/core/html/forms/PasswordInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/PasswordInputType.cpp
@@ -65,14 +65,14 @@ bool PasswordInputType::shouldSaveAndRestoreFormControlState() const
FormControlState PasswordInputType::saveFormControlState() const
{
// Should never save/restore password fields.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return FormControlState();
}
void PasswordInputType::restoreFormControlState(const FormControlState&)
{
// Should never save/restore password fields.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
bool PasswordInputType::shouldRespectListAttribute()

Powered by Google App Engine
This is Rietveld 408576698