mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
LibWeb: Make factory method of Selection::Selection fallible
This commit is contained in:
parent
d69e863286
commit
dcbe927b48
3 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ class Selection final : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(Selection, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<Selection> create(JS::NonnullGCPtr<JS::Realm>, JS::NonnullGCPtr<DOM::Document>);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Selection>> create(JS::NonnullGCPtr<JS::Realm>, JS::NonnullGCPtr<DOM::Document>);
|
||||
|
||||
virtual ~Selection() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue