mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
LibWeb: Make factory method of Crypto::Crypto fallible
This commit is contained in:
parent
fb3294863e
commit
58af8e2021
3 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ class Crypto : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(Crypto, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<Crypto> create(JS::Realm&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Crypto>> create(JS::Realm&);
|
||||
|
||||
virtual ~Crypto() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue