-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dynamicDowncast<T> more in html/
https://bugs.webkit.org/show_bug.cgi?id=265092 Reviewed by Jean-Yves Avenard. Use dynamicDowncast<T> more in html/. I did a little bit of smart pointer adoption on the lines I changed too. * Source/WebCore/html/BaseDateAndTimeInputType.cpp: (WebCore::BaseDateAndTimeInputType::updateInnerTextValue): * Source/WebCore/html/CachedHTMLCollectionInlines.h: (WebCore::nameShouldBeVisibleInDocumentAll): * Source/WebCore/html/CanvasBase.cpp: (WebCore:: const): * Source/WebCore/html/CustomPaintCanvas.cpp: (WebCore::CustomPaintCanvas::getContext): * Source/WebCore/html/DOMFormData.cpp: (WebCore::createFileEntry): * Source/WebCore/html/FTPDirectoryDocument.cpp: (WebCore::FTPDirectoryDocumentParser::loadDocumentTemplate): * Source/WebCore/html/FeaturePolicy.cpp: (WebCore::isFeaturePolicyAllowedByDocumentAndAllOwners): * Source/WebCore/html/FileInputType.cpp: (isType): * Source/WebCore/html/FormController.cpp: (WebCore::shouldBeUsedForFormSignature): * Source/WebCore/html/GenericCachedHTMLCollection.cpp: (WebCore::GenericCachedHTMLCollection<traversalType>::elementMatches const): * Source/WebCore/html/HTMLAnchorElement.cpp: (WebCore::appendServerMapMousePosition): (WebCore::HTMLAnchorElement::defaultEventHandler): (WebCore::HTMLAnchorElement::eventType): (WebCore::isEnterKeyKeydownEvent): * Source/WebCore/html/HTMLAreaElement.cpp: (WebCore::HTMLAreaElement::imageElement const): (WebCore::HTMLAreaElement::setFocus): * Source/WebCore/html/HTMLAttachmentElement.cpp: (WebCore::HTMLAttachmentElement::enclosingImageElement const): * Source/WebCore/html/HTMLAudioElement.h: (isType): * Source/WebCore/html/HTMLButtonElement.cpp: (WebCore::HTMLButtonElement::defaultEventHandler): * Source/WebCore/html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::didDraw): (WebCore::HTMLCanvasElement::reset): (WebCore::HTMLCanvasElement::getImageData): (WebCore::HTMLCanvasElement::toVideoFrame): (WebCore::HTMLCanvasElement::setImageBufferAndMarkDirty): (WebCore::HTMLCanvasElement::clearImageBuffer const): (WebCore::HTMLCanvasElement::virtualHasPendingActivity const): * Source/WebCore/html/HTMLCanvasElement.h: * Source/WebCore/html/HTMLCollection.cpp: (WebCore::HTMLCollection::updateNamedElementCache const): * Source/WebCore/html/HTMLDetailsElement.cpp: (WebCore::DetailsSlotAssignment::slotNameForHostChild const): * Source/WebCore/html/HTMLDocument.cpp: (WebCore::HTMLDocument::namedItem): * Source/WebCore/html/HTMLDocument.h: (isType): * Source/WebCore/html/HTMLElement.cpp: (WebCore::elementAffectsDirectionality): (WebCore::HTMLElement::editabilityFromContentEditableAttr): (WebCore::HTMLElement::insertedIntoAncestor): (WebCore::HTMLElement::setOuterText): (WebCore::HTMLElement::computeDirectionalityFromText const): (WebCore::HTMLElement::dirAttributeChanged): (WebCore::HTMLElement::canBeActuallyDisabled const): (WebCore::checkPopoverValidity): Canonical link: https://commits.webkit.org/270960@main
- Loading branch information
Showing
22 changed files
with
161 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.