mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
Ladybird: Remove redundant use of impl()
This blocks us from removing it upstream in LibWeb.
This commit is contained in:
parent
fdf69720d4
commit
445cc7c97d
|
@ -101,7 +101,7 @@ JS_DEFINE_NATIVE_FUNCTION(ConsoleGlobalObject::inspected_node_getter)
|
|||
return vm.throw_completion<JS::TypeError>(JS::ErrorType::NotAnObjectOfType, "ConsoleGlobalObject");
|
||||
|
||||
auto console_global_object = static_cast<ConsoleGlobalObject*>(this_object);
|
||||
auto& window = console_global_object->m_window_object->impl();
|
||||
auto& window = *console_global_object->m_window_object;
|
||||
auto* inspected_node = window.associated_document().inspected_node();
|
||||
if (!inspected_node)
|
||||
return JS::js_undefined();
|
||||
|
|
Loading…
Reference in a new issue