[webkit-changes] [WebKit/WebKit] bfcf7f: More dynamicDowncast and RefPtr in WebCore/style
Anne van Kesteren
noreply at github.com
Mon Dec 11 10:45:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bfcf7fa3af7e2a898dffe289be9549f3dc7853eb
https://github.com/WebKit/WebKit/commit/bfcf7fa3af7e2a898dffe289be9549f3dc7853eb
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2023-12-11 (Mon, 11 Dec 2023)
Changed paths:
M Source/WebCore/style/StyleAdjuster.cpp
M Source/WebCore/style/StyleTreeResolver.cpp
M Source/WebCore/style/UserAgentStyle.cpp
M Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebFormManager.cpp
Log Message:
-----------
More dynamicDowncast and RefPtr in WebCore/style
https://bugs.webkit.org/show_bug.cgi?id=266208
Reviewed by Chris Dumez.
This leaves one downcast in StyleAdjuster alone that is guarded by
ENABLE(INTERACTION_REGIONS_IN_EVENT_REGION).
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::shouldInheritTextDecorationsInEffect):
(WebCore::Style::Adjuster::adjust const):
(WebCore::Style::Adjuster::adjustForSiteSpecificQuirks const):
(WebCore::Style::isOutermostSVGElement): Deleted.
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveElement):
(WebCore::Style::TreeResolver::pushParent):
(WebCore::Style::TreeResolver::resolveComposedTree):
* Source/WebCore/style/UserAgentStyle.cpp:
(WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement):
* Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebFormManager.cpp:
(webkit_web_form_manager_input_element_is_user_edited):
(webkit_web_form_manager_input_element_auto_fill):
(webkit_web_form_manager_input_element_is_auto_filled):
Canonical link: https://commits.webkit.org/271885@main
More information about the webkit-changes
mailing list