1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:47:35 +00:00

LibWeb: Rename confusing parameter in AnimationPlaybackEvent

This commit is contained in:
Matthew Olsson 2024-02-03 18:23:14 -07:00 committed by Andreas Kling
parent 8c80d0ee02
commit 2e29b0d700
2 changed files with 9 additions and 9 deletions

View file

@ -23,8 +23,8 @@ class AnimationPlaybackEvent : public DOM::Event {
JS_DECLARE_ALLOCATOR(AnimationPlaybackEvent);
public:
[[nodiscard]] static JS::NonnullGCPtr<AnimationPlaybackEvent> create(JS::Realm&, FlyString const& event_name, AnimationPlaybackEventInit const& event_init = {});
static WebIDL::ExceptionOr<JS::NonnullGCPtr<AnimationPlaybackEvent>> construct_impl(JS::Realm&, FlyString const& event_name, AnimationPlaybackEventInit const& event_init);
[[nodiscard]] static JS::NonnullGCPtr<AnimationPlaybackEvent> create(JS::Realm&, FlyString const& type, AnimationPlaybackEventInit const& event_init = {});
static WebIDL::ExceptionOr<JS::NonnullGCPtr<AnimationPlaybackEvent>> construct_impl(JS::Realm&, FlyString const& type, AnimationPlaybackEventInit const& event_init);
virtual ~AnimationPlaybackEvent() override = default;
@ -35,7 +35,7 @@ public:
void set_timeline_time(Optional<double> timeline_time) { m_timeline_time = timeline_time; }
private:
AnimationPlaybackEvent(JS::Realm&, FlyString const& event_name, AnimationPlaybackEventInit const& event_init);
AnimationPlaybackEvent(JS::Realm&, FlyString const& type, AnimationPlaybackEventInit const& event_init);
virtual void initialize(JS::Realm&) override;