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

Unified Diff: components/autofill/content/renderer/password_autofill_agent.cc

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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: 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()));

Powered by Google App Engine
This is Rietveld 408576698