mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:05:07 +00:00
LibWeb: Make factory method of HTML::DOMStringMap fallible
This commit is contained in:
parent
809206f50e
commit
b604bbaf29
4 changed files with 8 additions and 5 deletions
|
@ -17,7 +17,7 @@ class DOMStringMap final : public Bindings::LegacyPlatformObject {
|
|||
WEB_PLATFORM_OBJECT(DOMStringMap, Bindings::LegacyPlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<DOMStringMap> create(DOM::Element&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<DOMStringMap>> create(DOM::Element&);
|
||||
|
||||
virtual ~DOMStringMap() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue