diff options
| author | 2012-02-28 11:38:56 -0800 | |
|---|---|---|
| committer | 2012-02-28 11:38:56 -0800 | |
| commit | c2baeffe00b9dee515fdd3c39e9a7bc910ea2346 (patch) | |
| tree | 50aee91460f124b031ca2ac4a02ef32dd534cc9c | |
| parent | ef437848ca441a69ccb1bcd441a79c65e1694772 (diff) | |
| parent | 79d99bebc19cf20cb486953ef2e9f6d96b27ab18 (diff) | |
Merge "Fix NPE"
| -rw-r--r-- | core/java/android/webkit/WebView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 86185103c5d5..570b4a82e639 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -5345,7 +5345,11 @@ public class WebView extends AbsoluteLayout } } + // TODO: Remove this WebViewCore.CursorData cursorData() { + if (sDisableNavcache) { + return new WebViewCore.CursorData(0, 0, 0, 0); + } WebViewCore.CursorData result = cursorDataNoPosition(); Point position = nativeCursorPosition(); result.mX = position.x; |