1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:15:07 +00:00

LibWeb: Remove confusing NOTE in WindowEnvironmentSettingsObject

HTML::Window has absorbed what was formerly known as WindowObject.
This commit is contained in:
Andreas Kling 2022-09-21 10:53:20 +02:00
parent 66f4e2b3b0
commit 1f95943274

View file

@ -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<HTML::Window>(realm->global_object()).impl();
auto& window = verify_cast<HTML::Window>(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.