mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Remove confusing NOTE in WindowEnvironmentSettingsObject
HTML::Window has absorbed what was formerly known as WindowObject.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 06:45:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/1f95943274
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user