summaryrefslogtreecommitdiff
path: root/Ladybird/ConsoleGlobalObject.cpp
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-08-28 18:08:12 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-25 07:58:58 -0700
commit9789d8b7698757eef55a8be13ed708ce7851d51b (patch)
treef1929c2ebeae0d6af507c6af0632a2c61e180cbe /Ladybird/ConsoleGlobalObject.cpp
parent1e7d4bc089a016b2cb673b0dd77b010119972fd8 (diff)
downloadserenity-9789d8b7698757eef55a8be13ed708ce7851d51b.zip
Ladybird: Turn initialize_global_object() into a regular initialize()
See: https://github.com/SerenityOS/serenity/commit/cfa5885
Diffstat (limited to 'Ladybird/ConsoleGlobalObject.cpp')
-rw-r--r--Ladybird/ConsoleGlobalObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ladybird/ConsoleGlobalObject.cpp b/Ladybird/ConsoleGlobalObject.cpp
index c4da91221e..cc7222af40 100644
--- a/Ladybird/ConsoleGlobalObject.cpp
+++ b/Ladybird/ConsoleGlobalObject.cpp
@@ -21,9 +21,9 @@ ConsoleGlobalObject::ConsoleGlobalObject(JS::Realm& realm, Web::Bindings::Window
{
}
-void ConsoleGlobalObject::initialize_global_object(JS::Realm& realm)
+void ConsoleGlobalObject::initialize(JS::Realm& realm)
{
- Base::initialize_global_object(realm);
+ Base::initialize(realm);
// $0 magic variable
define_native_accessor(realm, "$0", inspected_node_getter, nullptr, 0);