Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4a8e8a07afc5484b53cf7b1fb0fa21f7f1dbddd1
      
https://github.com/WebKit/WebKit/commit/4a8e8a07afc5484b53cf7b1fb0fa21f7f1dbddd1
  Author: Ryosuke Niwa <[email protected]>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

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

  Log Message:
  -----------
  Always allocate ScrollerMac in heap
https://bugs.webkit.org/show_bug.cgi?id=301845

Reviewed by Anne van Kesteren.

Always allocate ScrollerMac in heap so that operator delete destructs it.

No new tests since there should be no behavioral differences.

* Source/WebCore/page/scrolling/mac/ScrollerMac.h:
* Source/WebCore/page/scrolling/mac/ScrollerPairMac.h:
(WebCore::ScrollerPairMac::verticalScroller):
(WebCore::ScrollerPairMac::checkedVerticalScroller):
(WebCore::ScrollerPairMac::checkedVerticalScroller const):
(WebCore::ScrollerPairMac::horizontalScroller):
(WebCore::ScrollerPairMac::checkedHorizontalScroller):
(WebCore::ScrollerPairMac::checkedHorizontalScroller const):
* Source/WebCore/page/scrolling/mac/ScrollerPairMac.mm:
(WebCore::ScrollerPairMac::ScrollerPairMac):
(WebCore::ScrollerPairMac::setUsePresentationValues):
(WebCore::ScrollerPairMac::setHorizontalScrollbarPresentationValue):
(WebCore::ScrollerPairMac::setVerticalScrollbarPresentationValue):
(WebCore::ScrollerPairMac::setScrollbarStyle):

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



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

Reply via email to