Skip to content

Commit

Permalink
Remove redundant use of impl()
Browse files Browse the repository at this point in the history
This blocks us from removing it upstream in LibWeb.
  • Loading branch information
linusg committed Sep 21, 2022
1 parent 56f565c commit 4201506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ConsoleGlobalObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4201506

Please sign in to comment.