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

Commit 98a5fcd8 authored by Nicolas Roard's avatar Nicolas Roard Committed by Android (Google) Code Review
Browse files

Merge "Trigger a full screen repaint when touching layers, as webkitDraw() may...

Merge "Trigger a full screen repaint when touching layers, as webkitDraw() may not generate the correct invalidations."
parents 45f96632 dee7b1ba
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2010,10 +2010,10 @@ public final class WebViewCore {
        if (nativeUpdateLayers(mLastDrawData.mBaseLayer)) {
            // If anything more complex than position has been touched, let's do a full draw
            webkitDraw();
        } else {
            Message.obtain(mWebView.mPrivateHandler,
                    WebView.INVAL_RECT_MSG_ID).sendToTarget();
        }
        mWebView.mPrivateHandler.removeMessages(WebView.INVAL_RECT_MSG_ID);
        mWebView.mPrivateHandler.sendMessageAtFrontOfQueue(mWebView.mPrivateHandler
                .obtainMessage(WebView.INVAL_RECT_MSG_ID));
    }

    private void webkitDraw() {