mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-07 20:31:04 +03:00
LibWeb: Delete AnimationEffect::create() function
It should not be possible to create AnimationEffect because it is an abstract interface according to the spec.
This commit is contained in:
parent
3a8bde9ef2
commit
dd07c7f729
Notes:
sideshowbarker
2024-07-17 01:13:25 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/dd07c7f729 Pull-request: https://github.com/SerenityOS/serenity/pull/23591 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/awesomekling
@ -49,11 +49,6 @@ Bindings::PlaybackDirection css_animation_direction_to_bindings_playback_directi
|
||||
}
|
||||
}
|
||||
|
||||
JS::NonnullGCPtr<AnimationEffect> AnimationEffect::create(JS::Realm& realm)
|
||||
{
|
||||
return realm.heap().allocate<AnimationEffect>(realm, realm);
|
||||
}
|
||||
|
||||
OptionalEffectTiming EffectTiming::to_optional_effect_timing() const
|
||||
{
|
||||
return {
|
||||
|
@ -67,8 +67,6 @@ class AnimationEffect : public Bindings::PlatformObject {
|
||||
public:
|
||||
static RefPtr<CSS::StyleValue const> parse_easing_string(JS::Realm& realm, StringView value);
|
||||
|
||||
static JS::NonnullGCPtr<AnimationEffect> create(JS::Realm&);
|
||||
|
||||
EffectTiming get_timing() const;
|
||||
ComputedEffectTiming get_computed_timing() const;
|
||||
WebIDL::ExceptionOr<void> update_timing(OptionalEffectTiming timing = {});
|
||||
|
Loading…
Reference in New Issue
Block a user