mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:27:34 +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
|
@ -43,7 +43,7 @@ JS::Value ImageConstructor::call()
|
|||
JS::Value ImageConstructor::construct(FunctionObject&)
|
||||
{
|
||||
auto& window = static_cast<WindowObject&>(global_object());
|
||||
auto& document = window.impl().document();
|
||||
auto& document = window.impl().associated_document();
|
||||
auto image_element = DOM::create_element(document, HTML::TagNames::img, Namespace::HTML);
|
||||
|
||||
if (vm().argument_count() > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue