summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/GlobalObject.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-01 12:24:46 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-01 12:28:57 +0200
commit44221756ab7515617450400bf23d0e8df486c2b7 (patch)
tree0cca2e683a1d1efd822bdfa7e90995e2aa81d8d9 /Userland/Libraries/LibJS/Runtime/GlobalObject.h
parent56d25d721001f72bced2aa723d08a19eac9431fb (diff)
downloadserenity-44221756ab7515617450400bf23d0e8df486c2b7.zip
LibJS: Drop "Record" suffix from all the *Environment record classes
"Records" in the spec are basically C++ classes, so let's drop this mouthful of a suffix.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/GlobalObject.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/GlobalObject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/GlobalObject.h b/Userland/Libraries/LibJS/Runtime/GlobalObject.h
index ec1c5afa4a..6ff199c520 100644
--- a/Userland/Libraries/LibJS/Runtime/GlobalObject.h
+++ b/Userland/Libraries/LibJS/Runtime/GlobalObject.h
@@ -7,7 +7,7 @@
#pragma once
#include <LibJS/Heap/Heap.h>
-#include <LibJS/Runtime/EnvironmentRecord.h>
+#include <LibJS/Runtime/Environment.h>
#include <LibJS/Runtime/VM.h>
namespace JS {
@@ -21,7 +21,7 @@ public:
virtual ~GlobalObject() override;
- GlobalEnvironmentRecord& environment_record() { return *m_environment_record; }
+ GlobalEnvironment& environment() { return *m_environment; }
Console& console() { return *m_console; }
@@ -87,7 +87,7 @@ private:
// Not included in JS_ENUMERATE_NATIVE_OBJECTS due to missing distinct constructor
GeneratorObjectPrototype* m_generator_object_prototype { nullptr };
- GlobalEnvironmentRecord* m_environment_record { nullptr };
+ GlobalEnvironment* m_environment { nullptr };
#define __JS_ENUMERATE(ClassName, snake_name, PrototypeName, ConstructorName, ArrayType) \
ConstructorName* m_##snake_name##_constructor { nullptr }; \