[webkit-changes] [WebKit/WebKit] 9168d1: Cherry-pick 287192 at main (f5fb0119fb81). https://bu...

Wenson Hsieh noreply at github.com
Thu Dec 5 16:23:13 PST 2024


  Branch: refs/heads/webkitglib/2.46
  Home:   https://github.com/WebKit/WebKit
  Commit: 9168d11da44b07d85b2d1b3d90f38c701b4feb1b
      https://github.com/WebKit/WebKit/commit/9168d11da44b07d85b2d1b3d90f38c701b4feb1b
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M Source/WebCore/page/EventHandler.cpp
    M Source/WebCore/page/WheelEventTestMonitor.h

  Log Message:
  -----------
  Cherry-pick 287192 at main (f5fb0119fb81). https://bugs.webkit.org/show_bug.cgi?id=283860

    REGRESSION (276312 at main): EventHandler::handleWheelEventInternal no longer defers scroll wheel event handling completion
    https://bugs.webkit.org/show_bug.cgi?id=283860

    Reviewed by Alan Baradlay.

    276312 at main appears to have unintentionally changed the scope of the RAII deferrer in this method,
    such that it adds and then immediately removes a deferral reason (instead of lasting through the
    scope of the method itself). Restore the previous behavior, by pulling this out into a `unique_ptr`
    that's set only if `scrollableArea` is nonnull.

    * Source/WebCore/page/EventHandler.cpp:
    (WebCore::EventHandler::handleWheelEventInternal):
    * Source/WebCore/page/WheelEventTestMonitor.h:

    Canonical link: https://commits.webkit.org/287192@main

Canonical link: https://commits.webkit.org/282416.336@webkitglib/2.46



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list