Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc |
index 42dbcfa196eaec6061ab7dc1ab5b599725571d26..8dd18352d69bbbd59fbf14b612a549c1440b753e 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc |
@@ -765,20 +765,20 @@ |
code += "document.getElementById('Passwd').value = '" + test_pass_ + "';"; |
code += "document.getElementById('signIn').click();"; |
- frame->ExecuteJavaScriptForTests(base::ASCIIToUTF16(code)); |
+ frame->ExecuteJavaScript(base::ASCIIToUTF16(code)); |
} else { |
std::string code; |
code = |
"document.getElementById('identifier').value = '" + test_user_ + "';"; |
code += "document.getElementById('nextButton').click();"; |
- frame->ExecuteJavaScriptForTests(base::ASCIIToUTF16(code)); |
+ frame->ExecuteJavaScript(base::ASCIIToUTF16(code)); |
if (!test_pass_.empty()) { |
code = |
"document.getElementById('password').value = '" + test_pass_ + "';"; |
code += "document.getElementById('nextButton').click();"; |
- frame->ExecuteJavaScriptForTests(base::ASCIIToUTF16(code)); |
+ frame->ExecuteJavaScript(base::ASCIIToUTF16(code)); |
} |
} |