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
commit 1f95943274
Notes: sideshowbarker 2024-07-17 06:45:46 +09:00

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.