mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05: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
2 changed files with 0 additions and 7 deletions
|
@ -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…
Add table
Reference in a new issue