Index: content/public/android/javatests/src/org/chromium/content/browser/NavigationTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/NavigationTest.java b/content/public/android/javatests/src/org/chromium/content/browser/NavigationTest.java |
index ae0ab89b8cd5212cd3fc6bf39a4007076f3dce2d..32d8d24afb925af63d0d2972713ed252402c2ec8 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/NavigationTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/NavigationTest.java |
@@ -118,8 +118,7 @@ |
OnEvaluateJavaScriptResultHelper javascriptHelper = new OnEvaluateJavaScriptResultHelper(); |
// Grab the first timestamp. |
- javascriptHelper.evaluateJavaScriptForTests( |
- contentViewCore.getWebContents(), "getLoadtime();"); |
+ javascriptHelper.evaluateJavaScript(contentViewCore.getWebContents(), "getLoadtime();"); |
javascriptHelper.waitUntilHasValue(); |
String firstTimestamp = javascriptHelper.getJsonResultAndClear(); |
assertNotNull("Timestamp was null.", firstTimestamp); |
@@ -127,8 +126,7 @@ |
// Grab the timestamp after a reload and make sure they don't match. |
reload(contentViewCore.getWebContents().getNavigationController(), |
testCallbackHelperContainer); |
- javascriptHelper.evaluateJavaScriptForTests( |
- contentViewCore.getWebContents(), "getLoadtime();"); |
+ javascriptHelper.evaluateJavaScript(contentViewCore.getWebContents(), "getLoadtime();"); |
javascriptHelper.waitUntilHasValue(); |
String secondTimestamp = javascriptHelper.getJsonResultAndClear(); |
assertNotNull("Timestamp was null.", secondTimestamp); |