Index: chrome/browser/chromeos/login/lock/screen_locker_tester.cc |
diff --git a/chrome/browser/chromeos/login/lock/screen_locker_tester.cc b/chrome/browser/chromeos/login/lock/screen_locker_tester.cc |
index c3fc29b05b61cc051d7602584bf418be8f167275..37efe024b017ab8e20ede1653da2b4b0211ed961 100644 |
--- a/chrome/browser/chromeos/login/lock/screen_locker_tester.cc |
+++ b/chrome/browser/chromeos/login/lock/screen_locker_tester.cc |
@@ -118,7 +118,7 @@ |
}; |
void WebUIScreenLockerTester::SetPassword(const std::string& password) { |
- webui()->GetWebContents()->GetMainFrame()->ExecuteJavaScriptForTests( |
+ webui()->GetWebContents()->GetMainFrame()->ExecuteJavaScript( |
base::ASCIIToUTF16(base::StringPrintf( |
"$('pod-row').pods[0].passwordElement.value = '%s';", |
password.c_str()))); |