mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
LibJS: Make Cell::initialize() return void
Stop worrying about tiny OOMs. Work towards #20405
This commit is contained in:
@@ -57,7 +57,7 @@ struct EnvironmentSettingsObject
|
||||
JS_CELL(EnvironmentSettingsObject, JS::Cell);
|
||||
|
||||
virtual ~EnvironmentSettingsObject() override;
|
||||
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-target-browsing-context
|
||||
JS::ExecutionContext& realm_execution_context();
|
||||
|
||||
Reference in New Issue
Block a user