[webkit-changes] [WebKit/WebKit] ec1f7d: [UI-side compositing] Fix ScrollerMac::scrollbarState

Nikos Mouchtaris noreply at github.com
Wed Mar 29 17:12:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ec1f7d407a9b847166182a58403f8c06737458f9
      https://github.com/WebKit/WebKit/commit/ec1f7d407a9b847166182a58403f8c06737458f9
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M Source/WebCore/page/scrolling/mac/ScrollerMac.mm

  Log Message:
  -----------
  [UI-side compositing] Fix ScrollerMac::scrollbarState
https://bugs.webkit.org/show_bug.cgi?id=254685
rdar://107384908

Reviewed by Simon Fraser.

Have ScrollerMac::scrollbarState return none when we don't
have a layer for this orientation. Also return early when
we are not an overlay scrollbar.

* Source/WebCore/page/scrolling/mac/ScrollerMac.mm:
(WebCore::ScrollerMac::scrollbarState const):

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




More information about the webkit-changes mailing list