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

Commit dc09b5ae authored by Cary Clark's avatar Cary Clark
Browse files

check for native instance before calling

bug:3258992
Change-Id: Ia9bf7bdbbe2b5566121113174d032d316664f3b1
parent 244d2d4e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6510,6 +6510,9 @@ public class WebView extends AbsoluteLayout
    public boolean requestChildRectangleOnScreen(View child,
                                                 Rect rect,
                                                 boolean immediate) {
        if (mNativeClass == 0) {
            return false;
        }
        // don't scroll while in zoom animation. When it is done, we will adjust
        // the necessary components (e.g., WebTextView if it is in editing mode)
        if (mZoomManager.isFixedLengthAnimationInProgress()) {