Index: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/JavaScriptUtils.java |
diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/JavaScriptUtils.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/JavaScriptUtils.java |
index 75cd2e9ac96935873a365a635a3c621e09f53ea1..42457ccb7de1d0874c819e5868618343663009b1 100644 |
--- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/JavaScriptUtils.java |
+++ b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/JavaScriptUtils.java |
@@ -50,7 +50,7 @@ |
ThreadUtils.runOnUiThread(new Runnable() { |
@Override |
public void run() { |
- helper.evaluateJavaScriptForTests(webContents, code); |
+ helper.evaluateJavaScript(webContents, code); |
} |
}); |
helper.waitUntilHasValue(timeout, timeoutUnits); |
@@ -65,7 +65,7 @@ |
ThreadUtils.runOnUiThread(new Runnable() { |
@Override |
public void run() { |
- webContents.evaluateJavaScriptForTests(code, null); |
+ webContents.evaluateJavaScript(code, null); |
} |
}); |
} |