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

Commit c2baeffe authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE"

parents ef437848 79d99beb
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;