Ladybird: Remove redundant use of impl()

This blocks us from removing it upstream in LibWeb.
This commit is contained in:
Linus Groh 2022-09-21 18:01:53 +01:00 committed by Andrew Kaster
parent fdf69720d4
commit 445cc7c97d
Notes: sideshowbarker 2024-07-18 02:47:59 +09:00

View File

@ -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();