[webkit-changes] [WebKit/WebKit] a057d5: dynamicDowncast<> adoption in platform code, prima...
Anne van Kesteren
noreply at github.com
Mon Feb 26 10:55:49 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a057d5dafadecef5c4bb3c04ffea5f89818529b9
https://github.com/WebKit/WebKit/commit/a057d5dafadecef5c4bb3c04ffea5f89818529b9
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M Source/WebCore/platform/DragImage.cpp
M Source/WebCore/platform/ScrollingEffectsController.cpp
M Source/WebCore/platform/VideoFrame.mm
M Source/WebCore/platform/animation/AcceleratedEffect.cpp
M Source/WebCore/platform/animation/TimingFunction.cpp
M Source/WebCore/platform/animation/TimingFunction.h
Log Message:
-----------
dynamicDowncast<> adoption in platform code, primarily animation
https://bugs.webkit.org/show_bug.cgi?id=270052
Reviewed by Chris Dumez.
For security & performance. Also use uncheckedDowncast<> in a switch
construct where the relationship between type and class is
straightforward.
* Source/WebCore/platform/DragImage.cpp:
(WebCore::createDragImageFromSnapshot):
* Source/WebCore/platform/ScrollingEffectsController.cpp:
(WebCore::ScrollingEffectsController::finishKeyboardScroll):
(WebCore::ScrollingEffectsController::retargetAnimatedScroll):
(WebCore::ScrollingEffectsController::processWheelEventForKineticScrolling):
* Source/WebCore/platform/VideoFrame.mm:
(WebCore::VideoFrame::asVideoFrameCV):
* Source/WebCore/platform/animation/AcceleratedEffect.cpp:
(WebCore::AcceleratedEffect::AcceleratedEffect):
(WebCore::AcceleratedEffect::apply):
(WebCore::AcceleratedEffect::timingFunctionForKeyframe const):
* Source/WebCore/platform/animation/TimingFunction.cpp:
(WebCore::operator<<):
(WebCore::TimingFunction::transformProgress const):
(WebCore::TimingFunction::createFromCSSValue):
(WebCore::TimingFunction::cssText const):
* Source/WebCore/platform/animation/TimingFunction.h:
Canonical link: https://commits.webkit.org/275329@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