Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0df3d2738b500259a6cc5b9d645a955aa9923f5e
      
https://github.com/WebKit/WebKit/commit/0df3d2738b500259a6cc5b9d645a955aa9923f5e
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2025-11-10 (Mon, 10 Nov 2025)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.cpp
    M Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.h

  Log Message:
  -----------
  Fix the ENABLE_MOMENTUM_EVENT_DISPATCHER_TEMPORARY_LOGGING build after 
302823@main
https://bugs.webkit.org/show_bug.cgi?id=302305
rdar://164445802

Reviewed by Tim Horton.

Critically, WebWheelEvent::Phase is now a scoped enum.

Previously, for ease of logging, the wheel event phase and the momentum
phase were packed into a single integral value. We could still do this,
but I find reading the values separately easier, so we plumb both phase
values throughout the MomentumEventDispatcher logging code, finally
logging them next to each other.

No change in functionality, so no new tests.

* Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.cpp:
(WebKit::MomentumEventDispatcher::handleWheelEvent):
(WebKit::MomentumEventDispatcher::dispatchSyntheticMomentumEvent):
(WebKit::MomentumEventDispatcher::equalizeTailGaps):
(WebKit::MomentumEventDispatcher::pushLogEntry):
(WebKit::MomentumEventDispatcher::flushLog):
* Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.h:

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



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

Reply via email to