From 711faa8280ac4147f68ed778ad67047428329c67 Mon Sep 17 00:00:00 2001 From: sin-ack Date: Sat, 12 Oct 2024 13:56:38 +0000 Subject: [PATCH] LibWeb: Remove redundant DedicatedWorkerGlobalScope prototype setting Now that the global object correctly sets the property, we don't need to do it here. --- Userland/Libraries/LibWeb/HTML/DedicatedWorkerGlobalScope.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/HTML/DedicatedWorkerGlobalScope.cpp b/Userland/Libraries/LibWeb/HTML/DedicatedWorkerGlobalScope.cpp index eca46407c5c..4b5ce18e2a9 100644 --- a/Userland/Libraries/LibWeb/HTML/DedicatedWorkerGlobalScope.cpp +++ b/Userland/Libraries/LibWeb/HTML/DedicatedWorkerGlobalScope.cpp @@ -29,8 +29,6 @@ void DedicatedWorkerGlobalScope::initialize_web_interfaces_impl() auto& realm = this->realm(); add_dedicated_worker_exposed_interfaces(*this); - WEB_SET_PROTOTYPE_FOR_INTERFACE(DedicatedWorkerGlobalScope); - DedicatedWorkerGlobalScopeGlobalMixin::initialize(realm, *this); Base::initialize_web_interfaces_impl();