mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
LibWeb: Make factory method of IntersectionObserver fallible
This commit is contained in:
committed by
Andreas Kling
parent
f0fd1cae3d
commit
385b880862
Notes:
sideshowbarker
2024-07-17 18:23:22 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/385b880862 Pull-request: https://github.com/SerenityOS/serenity/pull/17542
@@ -22,7 +22,7 @@ class IntersectionObserver : public Bindings::PlatformObject {
|
||||
WEB_PLATFORM_OBJECT(IntersectionObserver, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<IntersectionObserver> construct_impl(JS::Realm&, WebIDL::CallbackType* callback, IntersectionObserverInit const& options = {});
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<IntersectionObserver>> construct_impl(JS::Realm&, WebIDL::CallbackType* callback, IntersectionObserverInit const& options = {});
|
||||
|
||||
virtual ~IntersectionObserver() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user