Index: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java |
index 5c9b9c513f49e0ff75428b93476e63f6f80b3d52..69069364b13d98692444baa83915c6d45c5994c4 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java |
@@ -403,7 +403,7 @@ public class AwContentsTest extends AwTestBase { |
AwSettings awSettings = awContents.getSettings(); |
awSettings.setJavaScriptEnabled(true); |
awContents.addJavascriptInterface(new JavaScriptObject(callback), "bridge"); |
- awContents.evaluateJavaScript("window.bridge.run();", null); |
+ awContents.evaluateJavaScriptForTests("window.bridge.run();", null); |
} |
}); |
callback.waitForCallback(0, 1, WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS); |