From 445cc7c97d73cab09f87618fa4e72bd60b1c6e58 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 21 Sep 2022 18:01:53 +0100 Subject: [PATCH] Ladybird: Remove redundant use of impl() This blocks us from removing it upstream in LibWeb. --- Ladybird/ConsoleGlobalObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ladybird/ConsoleGlobalObject.cpp b/Ladybird/ConsoleGlobalObject.cpp index 94d484fc14..d77687af65 100644 --- a/Ladybird/ConsoleGlobalObject.cpp +++ b/Ladybird/ConsoleGlobalObject.cpp @@ -101,7 +101,7 @@ JS_DEFINE_NATIVE_FUNCTION(ConsoleGlobalObject::inspected_node_getter) return vm.throw_completion(JS::ErrorType::NotAnObjectOfType, "ConsoleGlobalObject"); auto console_global_object = static_cast(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();