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

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

Merge "Prevent SET_SCROLL_OFFSET spam from clogging tubes" into honeycomb

parents ff843254 636ce004
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2506,6 +2506,7 @@ public class WebView extends AbsoluteLayout
        // Rect.equals() checks for null input.
        if (!rect.equals(mLastVisibleRectSent)) {
            Point pos = new Point(rect.left, rect.top);
            mWebViewCore.removeMessages(EventHub.SET_SCROLL_OFFSET);
            mWebViewCore.sendMessage(EventHub.SET_SCROLL_OFFSET,
                    nativeMoveGeneration(), mUserScroll ? 1 : 0, pos);
            mLastVisibleRectSent = rect;