From 1f95943274929cb813bbe82e669857d898cb39bf Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 21 Sep 2022 10:53:20 +0200 Subject: [PATCH] LibWeb: Remove confusing NOTE in WindowEnvironmentSettingsObject HTML::Window has absorbed what was formerly known as WindowObject. --- .../LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp b/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp index 47978d839b..72bc8c37df 100644 --- a/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp +++ b/Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp @@ -32,8 +32,7 @@ void WindowEnvironmentSettingsObject::setup(AK::URL const& creation_url, Nonnull VERIFY(realm); // 2. Let window be realm's global object. - // NOTE: We want to store the Window impl rather than the WindowObject. - auto& window = verify_cast(realm->global_object()).impl(); + auto& window = verify_cast(realm->global_object()); // 3. Let settings object be a new environment settings object whose algorithms are defined as follows: // NOTE: See the functions defined for this class.