[webkit-changes] [WebKit/WebKit] c67bb7: Rename RenderStyle effectiveScrollbarThumbColor() ...

Anne van Kesteren noreply at github.com
Sun Mar 10 00:07:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c67bb750f2c1083399f0dbe7d08b416cd45eee34
      https://github.com/WebKit/WebKit/commit/c67bb750f2c1083399f0dbe7d08b416cd45eee34
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-03-10 (Sun, 10 Mar 2024)

  Changed paths:
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/rendering/RenderLayerScrollableArea.cpp
    M Source/WebCore/rendering/style/RenderStyle.cpp
    M Source/WebCore/rendering/style/RenderStyle.h

  Log Message:
  -----------
  Rename RenderStyle effectiveScrollbarThumbColor() to usedScrollbarThumbColor() & effectiveScrollbarTrackColor() to usedScrollbarTrackColor()
https://bugs.webkit.org/show_bug.cgi?id=270735

Reviewed by Tim Nguyen.

This aligns them with terminology used in CSS standards.

* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::scrollbarThumbColorStyle const):
(WebCore::LocalFrameView::scrollbarTrackColorStyle const):
* Source/WebCore/rendering/RenderLayerScrollableArea.cpp:
(WebCore::RenderLayerScrollableArea::scrollbarThumbColorStyle const):
(WebCore::RenderLayerScrollableArea::scrollbarTrackColorStyle const):
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::usedScrollbarThumbColor const):
(WebCore::RenderStyle::usedScrollbarTrackColor const):
(WebCore::RenderStyle::effectiveScrollbarThumbColor const): Deleted.
(WebCore::RenderStyle::effectiveScrollbarTrackColor const): Deleted.
* Source/WebCore/rendering/style/RenderStyle.h:

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



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