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 cfc3fe82939dabc1b86d385359be1b414e943a2a..10a497432a2093189b763156bfea88847b9e7767 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 @@ |
assertEquals("\"function\"", executeJavaScriptAndWaitForResult( |
awContents, mContentsClient, "typeof test.destroy")); |
int currentCallCount = client2.getOnPageFinishedHelper().getCallCount(); |
- awContents.evaluateJavaScriptForTests("test.destroy()", null); |
+ awContents.evaluateJavaScript("test.destroy()", null); |
client2.getOnPageFinishedHelper().waitForCallback(currentCallCount); |
} |