Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79d99beb authored by John Reck's avatar John Reck
Browse files

Fix NPE

 Bug: 6083360

Change-Id: I8d4a4cfb4ca0bbefd848a6ed7a628bc3838e4f91
parent f64dfccd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;