[webkit-changes] [WebKit/WebKit] 14c065: Do more CheckedRef adoption in layout & rendering ...

Chris Dumez noreply at github.com
Thu Aug 29 19:29:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 14c065c7926fe80794c47e367fa6f02b851a8a20
      https://github.com/WebKit/WebKit/commit/14c065c7926fe80794c47e367fa6f02b851a8a20
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M Source/WebCore/rendering/BorderPainter.cpp
    M Source/WebCore/rendering/BorderPainter.h
    M Source/WebCore/rendering/LayoutRepainter.cpp
    M Source/WebCore/rendering/LayoutRepainter.h
    M Source/WebCore/rendering/ReferencedSVGResources.cpp
    M Source/WebCore/rendering/ReferencedSVGResources.h
    M Source/WebCore/rendering/RenderChildIterator.h
    M Source/WebCore/rendering/updating/RenderTreePosition.cpp
    M Source/WebCore/rendering/updating/RenderTreePosition.h

  Log Message:
  -----------
  Do more CheckedRef adoption in layout & rendering code
https://bugs.webkit.org/show_bug.cgi?id=278857

Reviewed by Sihui Liu.

This tested as performance neutral on Speedometer 3.

* Source/WebCore/rendering/BorderPainter.cpp:
(WebCore::BorderPainter::paintBorder const):
(WebCore::BorderPainter::paintOutline const):
(WebCore::BorderPainter::paintNinePieceImage const):
(WebCore::BorderPainter::document const):
* Source/WebCore/rendering/BorderPainter.h:
* Source/WebCore/rendering/LayoutRepainter.cpp:
(WebCore::LayoutRepainter::LayoutRepainter):
(WebCore::LayoutRepainter::repaintAfterLayout):
* Source/WebCore/rendering/LayoutRepainter.h:
* Source/WebCore/rendering/ReferencedSVGResources.cpp:
(WebCore::CSSSVGResourceElementClient::resourceChanged):
(WebCore::ReferencedSVGResources::~ReferencedSVGResources):
* Source/WebCore/rendering/ReferencedSVGResources.h:
* Source/WebCore/rendering/RenderChildIterator.h:
(WebCore::RenderChildIteratorAdapter<T>::begin):
(WebCore::RenderChildIteratorAdapter<T>::end):
(WebCore::RenderChildIteratorAdapter<T>::first):
(WebCore::RenderChildIteratorAdapter<T>::last):
(WebCore::RenderChildConstIteratorAdapter<T>::begin const):
(WebCore::RenderChildConstIteratorAdapter<T>::end const):
(WebCore::RenderChildConstIteratorAdapter<T>::first const):
(WebCore::RenderChildConstIteratorAdapter<T>::last const):
* Source/WebCore/rendering/updating/RenderTreePosition.cpp:
(WebCore::RenderTreePosition::computeNextSibling):
(WebCore::RenderTreePosition::nextSiblingRenderer const):
* Source/WebCore/rendering/updating/RenderTreePosition.h:
(WebCore::RenderTreePosition::parent const):

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