Index: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
index 0f23bcda766c332bec3cbf16673ac8da8b5e75e6..d4530f9d462c853ca053f181e5aef64104083787 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
@@ -293,14 +293,9 @@ |
} |
@Override |
+ @VisibleForTesting |
public void evaluateJavaScript(String script, JavaScriptCallback callback) { |
nativeEvaluateJavaScript(mNativeWebContentsAndroid, script, callback); |
- } |
- |
- @Override |
- @VisibleForTesting |
- public void evaluateJavaScriptForTests(String script, JavaScriptCallback callback) { |
- nativeEvaluateJavaScriptForTests(mNativeWebContentsAndroid, script, callback); |
} |
@Override |
@@ -426,8 +421,6 @@ |
private native void nativeResumeLoadingCreatedWebContents(long nativeWebContentsAndroid); |
private native void nativeEvaluateJavaScript(long nativeWebContentsAndroid, |
String script, JavaScriptCallback callback); |
- private native void nativeEvaluateJavaScriptForTests(long nativeWebContentsAndroid, |
- String script, JavaScriptCallback callback); |
private native void nativeAddMessageToDevToolsConsole( |
long nativeWebContentsAndroid, int level, String message); |
private native boolean nativeHasAccessedInitialDocument( |