| Index: components/autofill/content/renderer/password_autofill_agent.cc
|
| diff --git a/components/autofill/content/renderer/password_autofill_agent.cc b/components/autofill/content/renderer/password_autofill_agent.cc
|
| index 364d936d25c3a531d82cdd44353da80904d66c59..34068a0ee9cd1270787722b2ab8fad12ab75f0e1 100644
|
| --- a/components/autofill/content/renderer/password_autofill_agent.cc
|
| +++ b/components/autofill/content/renderer/password_autofill_agent.cc
|
| @@ -987,9 +987,8 @@ void PasswordAutofillAgent::DidStopLoading() {
|
| did_stop_loading_ = true;
|
| }
|
|
|
| -void PasswordAutofillAgent::FrameDetached(blink::WebFrame* frame) {
|
| - if (frame == render_frame()->GetWebFrame())
|
| - FrameClosing();
|
| +void PasswordAutofillAgent::FrameDetached() {
|
| + FrameClosing();
|
| }
|
|
|
| void PasswordAutofillAgent::WillSendSubmitEvent(
|
| @@ -1379,9 +1378,4 @@ void PasswordAutofillAgent::LegacyPasswordAutofillAgent::
|
| agent_->LegacyDidStartProvisionalLoad(navigated_frame);
|
| }
|
|
|
| -void PasswordAutofillAgent::LegacyPasswordAutofillAgent::FrameDetached(
|
| - blink::WebFrame* frame) {
|
| - agent_->FrameDetached(frame);
|
| -}
|
| -
|
| } // namespace autofill
|
|
|