Index: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java |
diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java |
index cfc53ffbfd24eb273f64cb90c52bc041ea70457b..d97e1ef9f72e18d4e5706d6dba25f977cfc05192 100644 |
--- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java |
+++ b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java |
@@ -126,7 +126,7 @@ public class TestCallbackHelperContainer { |
* @param webContents A WebContents instance to be used. |
* @param code A JavaScript code to be evaluated. |
*/ |
- public void evaluateJavaScript(WebContents webContents, String code) { |
+ public void evaluateJavaScriptForTests(WebContents webContents, String code) { |
JavaScriptCallback callback = |
new JavaScriptCallback() { |
@Override |
@@ -134,12 +134,12 @@ public class TestCallbackHelperContainer { |
notifyCalled(jsonResult); |
} |
}; |
- webContents.evaluateJavaScript(code, callback); |
+ webContents.evaluateJavaScriptForTests(code, callback); |
mJsonResult = null; |
} |
/** |
- * Returns true if the evaluation started by evaluateJavaScript() has completed. |
+ * Returns true if the evaluation started by evaluateJavaScriptForTests() has completed. |
*/ |
public boolean hasValue() { |
return mJsonResult != null; |