mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
LibWeb: Make factory methods of WebGL::WebGLContextEvent fallible
This commit is contained in:
parent
ff92324fa5
commit
f918d12655
3 changed files with 6 additions and 6 deletions
|
@ -19,8 +19,8 @@ class WebGLContextEvent final : public DOM::Event {
|
|||
WEB_PLATFORM_OBJECT(WebGLContextEvent, DOM::Event);
|
||||
|
||||
public:
|
||||
static WebGLContextEvent* create(JS::Realm&, DeprecatedFlyString const& type, WebGLContextEventInit const& event_init);
|
||||
static WebGLContextEvent* construct_impl(JS::Realm&, DeprecatedFlyString const& type, WebGLContextEventInit const& event_init);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<WebGLContextEvent>> create(JS::Realm&, DeprecatedFlyString const& type, WebGLContextEventInit const& event_init);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<WebGLContextEvent>> construct_impl(JS::Realm&, DeprecatedFlyString const& type, WebGLContextEventInit const& event_init);
|
||||
|
||||
virtual ~WebGLContextEvent() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue