Index: android_webview/javatests/src/org/chromium/android_webview/test/AwJavaBridgeTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwJavaBridgeTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwJavaBridgeTest.java |
index 10a497432a2093189b763156bfea88847b9e7767..cfc3fe82939dabc1b86d385359be1b414e943a2a 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwJavaBridgeTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwJavaBridgeTest.java |
@@ -70,7 +70,7 @@ public class AwJavaBridgeTest extends AwTestBase { |
assertEquals("\"function\"", executeJavaScriptAndWaitForResult( |
awContents, mContentsClient, "typeof test.destroy")); |
int currentCallCount = client2.getOnPageFinishedHelper().getCallCount(); |
- awContents.evaluateJavaScript("test.destroy()", null); |
+ awContents.evaluateJavaScriptForTests("test.destroy()", null); |
client2.getOnPageFinishedHelper().waitForCallback(currentCallCount); |
} |