mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
LibWeb: Rename confusing parameter in AnimationPlaybackEvent
This commit is contained in:
parent
8c80d0ee02
commit
2e29b0d700
Notes:
sideshowbarker
2024-07-17 02:14:39 +09:00
Author: https://github.com/mattco98
Commit: 2e29b0d700
Pull-request: https://github.com/SerenityOS/serenity/pull/23079
Reviewed-by: https://github.com/AtkinsSJ ✅
2 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue