| 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 d18ff7b55caa142ef3c6c5e74c995c495717b8b5..ba1b36cd1a314bda515a242db7ab4a621cf8a71e 100644
|
| --- a/components/autofill/content/renderer/password_autofill_agent.cc
|
| +++ b/components/autofill/content/renderer/password_autofill_agent.cc
|
| @@ -529,13 +529,13 @@ bool FillFormOnPasswordReceived(
|
| // identical origin.
|
| blink::WebFrame* cur_frame = password_element.document().frame();
|
| blink::WebString bottom_frame_origin =
|
| - cur_frame->securityOrigin().toString();
|
| + cur_frame->getSecurityOrigin().toString();
|
|
|
| DCHECK(cur_frame);
|
|
|
| while (cur_frame->parent()) {
|
| cur_frame = cur_frame->parent();
|
| - if (!bottom_frame_origin.equals(cur_frame->securityOrigin().toString()))
|
| + if (!bottom_frame_origin.equals(cur_frame->getSecurityOrigin().toString()))
|
| return false;
|
| }
|
|
|
| @@ -977,7 +977,7 @@ void PasswordAutofillAgent::SendPasswordForms(bool only_visible) {
|
|
|
| blink::WebFrame* frame = render_frame()->GetWebFrame();
|
| // Make sure that this security origin is allowed to use password manager.
|
| - blink::WebSecurityOrigin origin = frame->document().securityOrigin();
|
| + blink::WebSecurityOrigin origin = frame->document().getSecurityOrigin();
|
| if (logger) {
|
| logger->LogURL(Logger::STRING_SECURITY_ORIGIN,
|
| GURL(origin.toString().utf8()));
|
|
|