mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:47:34 +00:00
LibWeb: Make factory method of UIEvents::FocusEvent fallible
This commit is contained in:
parent
ad13c45c28
commit
b91d599177
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ class FocusEvent final : public UIEvent {
|
|||
WEB_PLATFORM_OBJECT(FocusEvent, UIEvent);
|
||||
|
||||
public:
|
||||
static FocusEvent* construct_impl(JS::Realm&, DeprecatedFlyString const& event_name, FocusEventInit const& event_init);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<FocusEvent>> construct_impl(JS::Realm&, DeprecatedFlyString const& event_name, FocusEventInit const& event_init);
|
||||
|
||||
virtual ~FocusEvent() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue