| 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 110a08e0e1cd320ff51740d8a7b80da0e1fe0b72..41ca1fc6c5069150568bcb8ca680b1d7d67f5309 100644
|
| --- a/components/autofill/core/common/password_form.cc
|
| +++ b/components/autofill/core/common/password_form.cc
|
| @@ -76,13 +76,17 @@ PasswordForm::PasswordForm()
|
| generation_upload_status(NO_SIGNAL_SENT),
|
| skip_zero_click(false),
|
| layout(Layout::LAYOUT_OTHER),
|
| - was_parsed_using_autofill_predictions(false) {
|
| + was_parsed_using_autofill_predictions(false),
|
| + is_alive(true) {
|
| }
|
|
|
| PasswordForm::~PasswordForm() {
|
| + CHECK(is_alive);
|
| + is_alive = false;
|
| }
|
|
|
| bool PasswordForm::IsPublicSuffixMatch() const {
|
| + CHECK(is_alive);
|
| return !original_signon_realm.empty();
|
| }
|
|
|
|
|