Index: content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeChildFrameTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeChildFrameTest.java b/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeChildFrameTest.java |
index 1fda331a862d602e58e512ffc9fce57a95ef4fd2..fab571f2f8f5095e26713f89e37bf118855bc43b 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeChildFrameTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeChildFrameTest.java |
@@ -257,7 +257,7 @@ public class JavaBridgeChildFrameTest extends JavaBridgeTestBase { |
runTestOnUiThread(new Runnable() { |
@Override |
public void run() { |
- webContents.evaluateJavaScript(script, resultCallback); |
+ webContents.evaluateJavaScriptForTests(script, resultCallback); |
} |
}); |
resultCallback.waitForResult(); |