Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7a089925fd56450935cc8ed9c7b4112275337a9b
      
https://github.com/WebKit/WebKit/commit/7a089925fd56450935cc8ed9c7b4112275337a9b
  Author: Antti Koivisto <[email protected]>
  Date:   2025-11-27 (Thu, 27 Nov 2025)

  Changed paths:
    M 
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentPainter.cpp
    M Source/WebCore/rendering/OutlinePainter.cpp
    M Source/WebCore/rendering/OutlinePainter.h
    M Source/WebCore/rendering/RenderBlock.cpp
    M Source/WebCore/rendering/RenderElement.cpp
    M Source/WebCore/rendering/RenderInline.cpp
    M Source/WebCore/rendering/RenderInline.h
    M Source/WebCore/rendering/svg/SVGTextBoxPainter.cpp

  Log Message:
  -----------
  Move RenderInline outline painting code to OutlinePainter
https://bugs.webkit.org/show_bug.cgi?id=303199
rdar://165488056

Reviewed by Alan Baradlay.

Move more code out of render tree.

* 
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentPainter.cpp:
(WebCore::LayoutIntegration::InlineContentPainter::paint):
* Source/WebCore/rendering/OutlinePainter.cpp:
(WebCore::OutlinePainter::OutlinePainter):

Refactor to take just the PaintInfo in constructor.

(WebCore::deviceScaleFactor):
(WebCore::OutlinePainter::paintOutline const):

Move from RenderInline.
Remove calls to Theme as RenderInlines are never themeable.

(WebCore::OutlinePainter::paintOutlineWithLineRects const):
(WebCore::OutlinePainter::paintFocusRing const):
(WebCore::OutlinePainter::deviceScaleFactor const): Deleted.
* Source/WebCore/rendering/OutlinePainter.h:
* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintObject):
(WebCore::RenderBlock::paintContinuationOutlines):
* Source/WebCore/rendering/RenderElement.cpp:
(WebCore::RenderElement::paintOutline):
* Source/WebCore/rendering/RenderInline.cpp:
(WebCore::RenderInline::paintOutline const): Deleted.
* Source/WebCore/rendering/RenderInline.h:
* Source/WebCore/rendering/svg/SVGTextBoxPainter.cpp:
(WebCore::SVGTextBoxPainter<TextBoxPath>::paint):

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



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

Reply via email to