diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/WorkerNavigator.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/WorkerNavigator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/WorkerNavigator.cpp b/Userland/Libraries/LibWeb/HTML/WorkerNavigator.cpp index ecc556ff64..e86d942b56 100644 --- a/Userland/Libraries/LibWeb/HTML/WorkerNavigator.cpp +++ b/Userland/Libraries/LibWeb/HTML/WorkerNavigator.cpp @@ -13,7 +13,7 @@ namespace Web::HTML { JS::NonnullGCPtr<WorkerNavigator> WorkerNavigator::create(WorkerGlobalScope& global_scope) { - return *global_scope.heap().allocate<WorkerNavigator>(global_scope.realm(), global_scope); + return global_scope.heap().allocate<WorkerNavigator>(global_scope.realm(), global_scope); } WorkerNavigator::WorkerNavigator(WorkerGlobalScope& global_scope) |