Index: content/browser/accessibility/accessibility_win_browsertest.cc |
diff --git a/content/browser/accessibility/accessibility_win_browsertest.cc b/content/browser/accessibility/accessibility_win_browsertest.cc |
index e5ee763b1206bc3548e823c78aa1c143c9e3205e..163ee4ceb986a58c595fc01767a2861850944833 100644 |
--- a/content/browser/accessibility/accessibility_win_browsertest.cc |
+++ b/content/browser/accessibility/accessibility_win_browsertest.cc |
@@ -108,7 +108,7 @@ IAccessible* AccessibilityWinBrowserTest::GetRendererAccessible() { |
} |
void AccessibilityWinBrowserTest::ExecuteScript(const std::wstring& script) { |
- shell()->web_contents()->GetMainFrame()->ExecuteJavaScript(script); |
+ shell()->web_contents()->GetMainFrame()->ExecuteJavaScriptForTests(script); |
} |
// Loads a page with an input text field and places sample text in it. Also, |