[webkit-changes] [WebKit/WebKit] eb1578: Adopt dynamicDowncast<> in InjectedBundle
Anne van Kesteren
noreply at github.com
Tue Jan 16 10:02:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: eb1578b3bd2fa9d25a84bcd087d51d80b96d1ba6
https://github.com/WebKit/WebKit/commit/eb1578b3bd2fa9d25a84bcd087d51d80b96d1ba6
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2024-01-16 (Tue, 16 Jan 2024)
Changed paths:
M Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
M Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp
Log Message:
-----------
Adopt dynamicDowncast<> in InjectedBundle
https://bugs.webkit.org/show_bug.cgi?id=267576
Reviewed by Chris Dumez.
The only InjectedBundle-related unqualified downcasts that remain for
Apple platforms are in WKDOMDocument, WKDOMElement, and WKDOMText.
* Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
(WebKit::InjectedBundleNodeHandle::elementBounds):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementValueForUser):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementSpellcheckEnabled):
(WebKit::InjectedBundleNodeHandle::isHTMLInputElementAutoFilled const):
(WebKit::InjectedBundleNodeHandle::isHTMLInputElementAutoFilledAndViewable const):
(WebKit::InjectedBundleNodeHandle::isHTMLInputElementAutoFilledAndObscured const):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementAutoFilled):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementAutoFilledAndViewable):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementAutoFilledAndObscured):
(WebKit::InjectedBundleNodeHandle::isHTMLInputElementAutoFillButtonEnabled const):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementAutoFillButtonEnabled):
(WebKit::InjectedBundleNodeHandle::htmlInputElementAutoFillButtonType const):
(WebKit::InjectedBundleNodeHandle::htmlInputElementLastAutoFillButtonType const):
(WebKit::InjectedBundleNodeHandle::isAutoFillAvailable const):
(WebKit::InjectedBundleNodeHandle::setAutoFillAvailable):
(WebKit::InjectedBundleNodeHandle::htmlInputElementAutoFillButtonBounds):
(WebKit::InjectedBundleNodeHandle::htmlInputElementLastChangeWasUserEdit):
(WebKit::InjectedBundleNodeHandle::htmlTextAreaElementLastChangeWasUserEdit):
(WebKit::InjectedBundleNodeHandle::isTextField const):
(WebKit::InjectedBundleNodeHandle::htmlTableCellElementCellAbove):
(WebKit::InjectedBundleNodeHandle::documentFrame):
* Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:
(WebKit::InjectedBundleHitTestResult::image const):
Canonical link: https://commits.webkit.org/273074@main
More information about the webkit-changes
mailing list