[webkit-changes] [WebKit/WebKit] 565a53: Make BorderPainter member functions const

Simon Fraser noreply at github.com
Tue Aug 6 13:12:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 565a534439970061962e6ac82156019daabeca00
      https://github.com/WebKit/WebKit/commit/565a534439970061962e6ac82156019daabeca00
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2024-08-06 (Tue, 06 Aug 2024)

  Changed paths:
    M Source/WebCore/rendering/BorderPainter.cpp
    M Source/WebCore/rendering/BorderPainter.h

  Log Message:
  -----------
  Make BorderPainter member functions const
https://bugs.webkit.org/show_bug.cgi?id=277691
rdar://133307030

Reviewed by Tim Nguyen.

BorderPainter member functions can be |const|.

* Source/WebCore/rendering/BorderPainter.cpp:
(WebCore::BorderPainter::paintBorder const):
(WebCore::BorderPainter::paintOutline const):
(WebCore::BorderPainter::paintSides const):
(WebCore::BorderPainter::paintNinePieceImage const):
(WebCore::BorderPainter::paintTranslucentBorderSides const):
(WebCore::BorderPainter::paintBorderSides const):
(WebCore::BorderPainter::paintOneBorderSide const):
(WebCore::BorderPainter::drawBoxSideFromPath const):
(WebCore::BorderPainter::clipBorderSidePolygon const):
(WebCore::BorderPainter::paintBorder): Deleted.
(WebCore::BorderPainter::paintOutline): Deleted.
(WebCore::BorderPainter::paintSides): Deleted.
(WebCore::BorderPainter::paintNinePieceImage): Deleted.
(WebCore::BorderPainter::paintTranslucentBorderSides): Deleted.
(WebCore::BorderPainter::paintBorderSides): Deleted.
(WebCore::BorderPainter::paintOneBorderSide): Deleted.
(WebCore::BorderPainter::drawBoxSideFromPath): Deleted.
(WebCore::BorderPainter::clipBorderSidePolygon): Deleted.
* Source/WebCore/rendering/BorderPainter.h:

Canonical link: https://commits.webkit.org/281908@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