Index: content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBareboneTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBareboneTest.java b/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBareboneTest.java |
index 3f2ad52832fbac78033a0edb4152915103d1aff3..c835211050f0216c2ee3d26968593053a3be1fa3 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBareboneTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBareboneTest.java |
@@ -40,7 +40,7 @@ public class JavaBridgeBareboneTest extends ContentShellTestBase { |
private String evaluateJsSync(String jsCode) throws Exception { |
OnEvaluateJavaScriptResultHelper javascriptHelper = new OnEvaluateJavaScriptResultHelper(); |
- javascriptHelper.evaluateJavaScript(getWebContents(), jsCode); |
+ javascriptHelper.evaluateJavaScriptForTests(getWebContents(), jsCode); |
javascriptHelper.waitUntilHasValue(); |
return javascriptHelper.getJsonResultAndClear(); |
} |