Index: components/autofill/content/renderer/password_generation_agent.cc |
diff --git a/components/autofill/content/renderer/password_generation_agent.cc b/components/autofill/content/renderer/password_generation_agent.cc |
index e7986765a8e42dcc5699bd0ad4950641937daf1f..b4ab0cb2330fc476d7fe92545eb26e211e103ca1 100644 |
--- a/components/autofill/content/renderer/password_generation_agent.cc |
+++ b/components/autofill/content/renderer/password_generation_agent.cc |
@@ -591,7 +591,7 @@ void PasswordGenerationAgent::UserTriggeredGeneratePassword() { |
password_form = CreatePasswordFormFromWebForm(form, nullptr, nullptr); |
control_elements = form_util::ExtractAutofillableElementsInForm(form); |
} else { |
- const blink::WebFrame& frame = *render_frame()->GetWebFrame(); |
+ const blink::WebLocalFrame& frame = *render_frame()->GetWebFrame(); |
blink::WebDocument doc = frame.GetDocument(); |
if (doc.IsNull()) |
return; |