Chromium Code Reviews| Index: content/public/android/java/src/org/chromium/content/browser/ContentView.java |
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentView.java b/content/public/android/java/src/org/chromium/content/browser/ContentView.java |
| index 27b937a39f6754ca0b3d25d89fe6565cd1cb1197..bb1d2f4e9b6b8ffef7ef3d0a1cf1e31b27bf4066 100644 |
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentView.java |
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentView.java |
| @@ -423,13 +423,12 @@ public class ContentView extends FrameLayout implements ContentViewCore.Internal |
| * ContentViewClient.onJavaScriptEvaluationResult is made. Used in automation |
| * tests. |
| * |
| - * @return an id that is passed along in the asynchronous onJavaScriptEvaluationResult callback |
| * @throws IllegalStateException If the ContentView has been destroyed. |
| * |
| * TODO(nileshagrawal): Remove this method from the public interface. |
|
nilesh
2013/01/07 18:46:03
Please remove to this TODO.
Avi (use Gerrit)
2013/01/07 18:50:53
OK.
|
| */ |
| - public int evaluateJavaScript(String script) throws IllegalStateException { |
| - return mContentViewCore.evaluateJavaScript(script); |
| + public void evaluateJavaScript(String script) throws IllegalStateException { |
| + mContentViewCore.evaluateJavaScript(script, null); |
| } |
| /** |