Index: content/public/android/javatests/src/org/chromium/content/browser/TestsJavaScriptEvalTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/TestsJavaScriptEvalTest.java b/content/public/android/javatests/src/org/chromium/content/browser/TestsJavaScriptEvalTest.java |
index 2601348f9ab591b2cf8a5b7a5035e96946129275..0eed6b8c4047574dcb8c0a81b5fb51be63a1e960 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/TestsJavaScriptEvalTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/TestsJavaScriptEvalTest.java |
@@ -39,7 +39,7 @@ public class TestsJavaScriptEvalTest extends ContentShellTestBase { |
for (int i = 0; i < 30; ++i) { |
for (int j = 0; j < 10; ++j) { |
// Start evaluation of a JavaScript script -- we don't need a result. |
- webContents.evaluateJavaScript("foobar();", null); |
+ webContents.evaluateJavaScriptForTests("foobar();", null); |
} |
// DOMUtils does need to evaluate a JavaScript and get its result to get DOM bounds. |
assertNotNull("Failed to get bounds", |