Skip to content

Commit 1f95943

Browse files
committed
LibWeb: Remove confusing NOTE in WindowEnvironmentSettingsObject
HTML::Window has absorbed what was formerly known as WindowObject.
1 parent 66f4e2b commit 1f95943

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Userland/Libraries/LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ void WindowEnvironmentSettingsObject::setup(AK::URL const& creation_url, Nonnull
3232
VERIFY(realm);
3333

3434
// 2. Let window be realm's global object.
35-
// NOTE: We want to store the Window impl rather than the WindowObject.
36-
auto& window = verify_cast<HTML::Window>(realm->global_object()).impl();
35+
auto& window = verify_cast<HTML::Window>(realm->global_object());
3736

3837
// 3. Let settings object be a new environment settings object whose algorithms are defined as follows:
3938
// NOTE: See the functions defined for this class.

0 commit comments

Comments
 (0)