Index: chrome/renderer/autofill/password_autofill_agent_browsertest.cc |
diff --git a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc |
index 6a0cc2eac83a6955ad64398c8c98449702bed5e6..cfa15cde9796fe617d9ffa1a788ce883c7419974 100644 |
--- a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc |
+++ b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc |
@@ -805,7 +805,7 @@ |
// Trigger the initial autocomplete. |
SimulateOnFillPasswordForm(fill_data_); |
- ExecuteJavaScriptForTests(kJavaScriptClick); |
+ ExecuteJavaScript(kJavaScriptClick); |
CheckTextFieldsDOMState(kAliceUsername, true, "", true); |
} |
@@ -1680,7 +1680,7 @@ |
"new_input.setAttribute('type', 'text');" |
"new_input.setAttribute('id', 'other_field');" |
"form.appendChild(new_input);"; |
- ExecuteJavaScriptForTests(add_field_to_form.c_str()); |
+ ExecuteJavaScript(add_field_to_form.c_str()); |
static_cast<content::RenderFrameObserver*>(password_autofill_agent_) |
->WillSendSubmitEvent(username_element_.form()); |