[webkit-changes] [WebKit/WebKit] 28b924: [scroll-anchoring] Have invalidateAnchorElement us...

Nikos Mouchtaris noreply at github.com
Thu Jan 11 10:57:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 28b9240cb45cce62f8a6e492fd654a086ee48aef
      https://github.com/WebKit/WebKit/commit/28b9240cb45cce62f8a6e492fd654a086ee48aef
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M Source/WebCore/page/scrolling/ScrollAnchoringController.cpp

  Log Message:
  -----------
  [scroll-anchoring] Have invalidateAnchorElement use dequeueScrollableAreaForScrollAnchoringUpdate
https://bugs.webkit.org/show_bug.cgi?id=267385
rdar://120817486

Reviewed by Wenson Hsieh.

Have ScrollAnchoringController::invalidateAnchorElement use
dequeueScrollableAreaForScrollAnchoringUpdate rather than
queueScrollableAreaForScrollAnchoringUpdate. This was a benign issue due to
the m_isQueuedForScrollPositionUpdate flag but we don't want to have scrollable
areas in the set that don't require updates.

* Source/WebCore/page/scrolling/ScrollAnchoringController.cpp:
(WebCore::ScrollAnchoringController::invalidateAnchorElement):

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




More information about the webkit-changes mailing list