Index: content/browser/accessibility/dump_accessibility_events_browsertest.cc |
diff --git a/content/browser/accessibility/dump_accessibility_events_browsertest.cc b/content/browser/accessibility/dump_accessibility_events_browsertest.cc |
index 80ff6a15606c67e73a77de23cda57e8289834a30..304fc071c2586ad0c0a8c1c633b92549addc862a 100644 |
--- a/content/browser/accessibility/dump_accessibility_events_browsertest.cc |
+++ b/content/browser/accessibility/dump_accessibility_events_browsertest.cc |
@@ -89,7 +89,7 @@ std::vector<std::string> DumpAccessibilityEventsTest::Dump() { |
shell(), AccessibilityModeComplete, ui::AX_EVENT_NONE)); |
- web_contents->GetMainFrame()->ExecuteJavaScript( |
+ web_contents->GetMainFrame()->ExecuteJavaScriptForTests( |
base::ASCIIToUTF16("go()")); |
// Wait for at least one accessibility event generated in response to |