mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
LibWeb: Rename DOM::Window::document() => associated_document()
Match the spec nomenclature.
This commit is contained in:
parent
8f72729f0e
commit
90cdeebfb3
16 changed files with 44 additions and 42 deletions
|
@ -27,7 +27,7 @@ RefPtr<Layout::Node> Text::create_layout_node()
|
|||
// https://dom.spec.whatwg.org/#dom-text-text
|
||||
NonnullRefPtr<Text> Text::create_with_global_object(Bindings::WindowObject& window, String const& data)
|
||||
{
|
||||
return make_ref_counted<Text>(window.impl().document(), data);
|
||||
return make_ref_counted<Text>(window.impl().associated_document(), data);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue