Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 8e4af45308bd2a51542bf417ce1eca208e472ade https://github.com/WebKit/WebKit/commit/8e4af45308bd2a51542bf417ce1eca208e472ade Author: Chris Dumez <cdu...@apple.com> Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths: M Source/WebCore/bindings/js/JSTrackCustom.cpp M Source/WebCore/bindings/js/ScriptModuleLoader.cpp M Source/WebCore/css/CSSFontFace.cpp M Source/WebCore/css/CSSValue.cpp M Source/WebCore/css/ComputedStyleExtractor.cpp M Source/WebCore/css/DeprecatedCSSOMValue.cpp M Source/WebCore/css/process-css-properties.py M Source/WebCore/dom/Element.cpp M Source/WebCore/dom/Element.h M Source/WebCore/dom/Node.cpp M Source/WebCore/dom/Range.cpp M Source/WebCore/dom/ScopedEventQueue.cpp M Source/WebCore/dom/ScriptExecutionContext.cpp M Source/WebCore/editing/ApplyStyleCommand.cpp M Source/WebCore/editing/BreakBlockquoteCommand.cpp M Source/WebCore/editing/ChangeListTypeCommand.cpp M Source/WebCore/editing/DeleteSelectionCommand.cpp M Source/WebCore/editing/Editing.cpp M Source/WebCore/editing/EditingStyle.cpp M Source/WebCore/html/HTMLLabelElement.cpp M Source/WebCore/html/HTMLLabelElement.h Log Message: ----------- Reduce use of downcast<>() in WebCore https://bugs.webkit.org/show_bug.cgi?id=267840 Reviewed by Geoffrey Garen. * Source/WebCore/bindings/js/JSTrackCustom.cpp: (WebCore::toJS): * Source/WebCore/bindings/js/ScriptModuleLoader.cpp: (WebCore::ScriptModuleLoader::evaluate): * Source/WebCore/css/CSSFontFace.cpp: (WebCore::CSSFontFace::setSizeAdjust): * Source/WebCore/css/CSSValue.cpp: (WebCore::CSSValue::equals const): * Source/WebCore/css/ComputedStyleExtractor.cpp: (WebCore::transformOperationAsCSSValue): (WebCore::ComputedStyleExtractor::valueForFilter): * Source/WebCore/css/DeprecatedCSSOMValue.cpp: (WebCore::DeprecatedCSSOMValue::operator delete): (WebCore::DeprecatedCSSOMValue::cssValueType const): (WebCore::DeprecatedCSSOMValue::cssText const): * Source/WebCore/css/process-css-properties.py: * Source/WebCore/dom/Element.cpp: (WebCore::Element::willModifyAttribute): (WebCore::Element::updateLabel): Deleted. * Source/WebCore/dom/Element.h: * Source/WebCore/dom/Node.cpp: (WebCore::isTouchRelatedEventType): * Source/WebCore/dom/Range.cpp: (WebCore::processContentsBetweenOffsets): (WebCore::Range::surroundContents): * Source/WebCore/dom/ScopedEventQueue.cpp: (WebCore::ScopedEventQueue::enqueueEvent): * Source/WebCore/dom/ScriptExecutionContext.cpp: (WebCore::ScriptExecutionContext::postTaskToResponsibleDocument): * Source/WebCore/editing/ApplyStyleCommand.cpp: (WebCore::isLegacyAppleStyleSpan): (WebCore::isStyleSpanOrSpanWithOnlyStyleAttribute): (WebCore::isSpanWithoutAttributesOrUnstyledStyleSpan): (WebCore::isEmptyFontTag): (WebCore::ApplyStyleCommand::applyBlockStyle): (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): (WebCore::dummySpanAncestorForNode): (WebCore::ApplyStyleCommand::removeEmbeddingUpToEnclosingBlock): (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange): (WebCore::ApplyStyleCommand::removeConflictingInlineStyleFromRun): (WebCore::ApplyStyleCommand::applyInlineStyleToPushDown): (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): (WebCore::ApplyStyleCommand::removeInlineStyle): (WebCore::ApplyStyleCommand::shouldSplitTextElement): (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement): (WebCore::ApplyStyleCommand::applyInlineStyleChange): * Source/WebCore/editing/BreakBlockquoteCommand.cpp: (WebCore::BreakBlockquoteCommand::doApply): * Source/WebCore/editing/ChangeListTypeCommand.cpp: (WebCore::listConversionTypeForSelection): * Source/WebCore/editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::cloneParagraphUnderNewElement): * Source/WebCore/editing/DeleteSelectionCommand.cpp: (WebCore::isSpecialHTMLElement): (WebCore::DeleteSelectionCommand::handleGeneralDelete): (WebCore::DeleteSelectionCommand::fixupWhitespace): (WebCore::DeleteSelectionCommand::doApply): * Source/WebCore/editing/Editing.cpp: (WebCore::enclosingList): (WebCore::isMailBlockquote): (WebCore::elementIfBlockFlow): (WebCore::isBlockFlowElement): (WebCore::deprecatedEnclosingBlockFlowElement): (WebCore::rendererForCaretPainting): * Source/WebCore/editing/EditingStyle.cpp: (WebCore::fontWeightValueIsBold): (WebCore::EditingStyle::overrideTypingStyleAt): (WebCore::EditingStyle::styleIsPresentInComputedStyleOfNode const): (WebCore::EditingStyle::wrappingStyleForSerialization): (WebCore::EditingStyle::mergeStyle): (WebCore::loneFontFamilyName): (WebCore::EditingStyle::mergeStyleFromRulesForSerialization): (WebCore::EditingStyle::legacyFontSize const): (WebCore::EditingStyle::styleAtSelectionStart): (WebCore::StyleChange::StyleChange): (WebCore::StyleChange::extractTextStyles): (WebCore::diffTextDecorations): * Source/WebCore/html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::updateLabel): * Source/WebCore/html/HTMLLabelElement.h: Canonical link: https://commits.webkit.org/273311@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes