Index: android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
index 11eb3c5e19abd3816d73f55f06144b43b85f3328..dec1762a8055e8979fe996ae2d61cea1f056d5fb 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
@@ -588,7 +588,7 @@ public class AwTestBase |
TestAwContentsClient.OnCreateWindowHelper onCreateWindowHelper = |
parentAwContentsClient.getOnCreateWindowHelper(); |
int currentCallCount = onCreateWindowHelper.getCallCount(); |
- parentAwContents.evaluateJavaScript(triggerScript, null); |
+ parentAwContents.evaluateJavaScriptForTests(triggerScript, null); |
onCreateWindowHelper.waitForCallback( |
currentCallCount, 1, WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS); |
} |