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

Commit bb4ad6a8 authored by Grace Kloba's avatar Grace Kloba Committed by Android (Google) Code Review
Browse files

Merge "As setNewZoomScale is called asynchronously, the WebView can be...

Merge "As setNewZoomScale is called asynchronously, the WebView can be destroyed. If it is, skip scaling."
parents 593c6a55 4c7ec8d6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3892,8 +3892,10 @@ public class WebView extends AbsoluteLayout
            public void run() {
                // we always force, in case our height changed, in which case we
                // still want to send the notification over to webkit
                if (mWebViewCore != null) {
                    setNewZoomScale(mActualScale, true);
                }
            }
        });
    }