Index: chrome/renderer/autofill/autofill_renderer_browsertest.cc |
diff --git a/chrome/renderer/autofill/autofill_renderer_browsertest.cc b/chrome/renderer/autofill/autofill_renderer_browsertest.cc |
index f8bde26ba9b7d1514928dc59a4669bc956190c1a..f8f6bf998b993dba4338ab88d3793a5ac26b755c 100644 |
--- a/chrome/renderer/autofill/autofill_renderer_browsertest.cc |
+++ b/chrome/renderer/autofill/autofill_renderer_browsertest.cc |
@@ -122,7 +122,7 @@ |
// Dynamically create a new form. A new message should be sent for it, but |
// not for the previous form. |
- ExecuteJavaScriptForTests( |
+ ExecuteJavaScript( |
"var newForm=document.createElement('form');" |
"newForm.id='new_testform';" |
"newForm.action='http://google.com';" |
@@ -220,7 +220,7 @@ |
render_thread_->sink().ClearMessages(); |
- ExecuteJavaScriptForTests("AddFields()"); |
+ ExecuteJavaScript("AddFields()"); |
msg_loop_.RunUntilIdle(); |
message = render_thread_->sink().GetFirstMessageMatching( |