[webkit-changes] [WebKit/WebKit] 531f60: Reduce further use of downcast<>() in WebCore/
Chris Dumez
noreply at github.com
Fri Mar 1 18:43:57 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 531f600d2abe97ea53f47e829cf75bb3aaf8ca32
https://github.com/WebKit/WebKit/commit/531f600d2abe97ea53f47e829cf75bb3aaf8ca32
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-03-01 (Fri, 01 Mar 2024)
Changed paths:
M Source/WebCore/dom/Position.cpp
M Source/WebCore/dom/PositionIterator.cpp
M Source/WebCore/rendering/LegacyLineLayout.cpp
M Source/WebCore/rendering/RenderLineBreak.h
M Source/WebCore/rendering/RenderObject.cpp
M Source/WebCore/rendering/RenderObject.h
M Source/WebCore/rendering/RenderTreeAsText.cpp
Log Message:
-----------
Reduce further use of downcast<>() in WebCore/
https://bugs.webkit.org/show_bug.cgi?id=270375
Reviewed by Brent Fulgham.
Reduce further use of downcast<>() in WebCore/, for performance reasons.
* Source/WebCore/dom/Position.cpp:
(WebCore::Position::isCandidate const):
(WebCore::Position::inlineBoxAndOffset const):
* Source/WebCore/dom/PositionIterator.cpp:
(WebCore::PositionIterator::isCandidate const):
* Source/WebCore/rendering/LegacyLineLayout.cpp:
(WebCore::LegacyLineLayout::createInlineBoxForRenderer):
* Source/WebCore/rendering/RenderLineBreak.h:
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::RenderObject::absoluteTextQuads):
(WebCore::RenderObject::absoluteTextRects):
* Source/WebCore/rendering/RenderObject.h:
(WebCore::RenderObject::isBR const):
(WebCore::RenderObject::isWBR const):
(WebCore::RenderObject::hasWBRLineBreakFlag const):
* Source/WebCore/rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):
Canonical link: https://commits.webkit.org/275589@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