summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/WorkerNavigator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/WorkerNavigator.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/WorkerNavigator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/WorkerNavigator.h b/Userland/Libraries/LibWeb/HTML/WorkerNavigator.h
index d111884375..323cd82523 100644
--- a/Userland/Libraries/LibWeb/HTML/WorkerNavigator.h
+++ b/Userland/Libraries/LibWeb/HTML/WorkerNavigator.h
@@ -22,7 +22,7 @@ class WorkerNavigator : public Bindings::PlatformObject
WEB_PLATFORM_OBJECT(WorkerNavigator, Bindings::PlatformObject);
public:
- static JS::NonnullGCPtr<WorkerNavigator> create(WorkerGlobalScope&);
+ static WebIDL::ExceptionOr<JS::NonnullGCPtr<WorkerNavigator>> create(WorkerGlobalScope&);
virtual ~WorkerNavigator() override;