Index: extensions/browser/api/system_storage/system_storage_eject_apitest.cc |
diff --git a/extensions/browser/api/system_storage/system_storage_eject_apitest.cc b/extensions/browser/api/system_storage/system_storage_eject_apitest.cc |
index bebd66538471eabcbc2916e58ec5b05436429d50..da9a59d1c4eb997fd1ec44d26f9e0a1f6bce3fd8 100644 |
--- a/extensions/browser/api/system_storage/system_storage_eject_apitest.cc |
+++ b/extensions/browser/api/system_storage/system_storage_eject_apitest.cc |
@@ -58,8 +58,7 @@ |
const std::string& js_command, |
const std::string& ok_message) { |
ExtensionTestMessageListener listener(ok_message, false); |
- host->GetMainFrame()->ExecuteJavaScriptForTests( |
- base::ASCIIToUTF16(js_command)); |
+ host->GetMainFrame()->ExecuteJavaScript(base::ASCIIToUTF16(js_command)); |
EXPECT_TRUE(listener.WaitUntilSatisfied()); |
} |