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

Unified Diff: components/autofill/core/common/password_form.cc

Issue 1636813003: Remove checks for a crasher in PasswordForm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « components/autofill/core/common/password_form.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/common/password_form.cc
diff --git a/components/autofill/core/common/password_form.cc b/components/autofill/core/common/password_form.cc
index 0ac9e335b91238dbf9d5b31926eb346621ca473a..5f8cbbf0eda6816ee9c2d8340c94252d84477393 100644
--- a/components/autofill/core/common/password_form.cc
+++ b/components/autofill/core/common/password_form.cc
@@ -83,13 +83,10 @@ PasswordForm::PasswordForm()
skip_zero_click(false),
layout(Layout::LAYOUT_OTHER),
was_parsed_using_autofill_predictions(false),
- is_alive(true),
is_public_suffix_match(false),
is_affiliation_based_match(false) {}
PasswordForm::~PasswordForm() {
- CHECK(is_alive);
- is_alive = false;
}
bool PasswordForm::IsPossibleChangePasswordForm() const {
« no previous file with comments | « components/autofill/core/common/password_form.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698