mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Make factory method of HTML::History fallible
This commit is contained in:
parent
3941e64fde
commit
2f4db60c08
Notes:
sideshowbarker
2024-07-17 22:41:14 +09:00
Author: https://github.com/kennethmyhra
Commit: 2f4db60c08
Pull-request: https://github.com/SerenityOS/serenity/pull/17491
Reviewed-by: https://github.com/linusg ✅
3 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ class History final : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(History, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<History> create(JS::Realm&, DOM::Document&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<History>> create(JS::Realm&, DOM::Document&);
|
||||
|
||||
virtual ~History() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue