Index: src/contexts-inl.h |
diff --git a/src/contexts-inl.h b/src/contexts-inl.h |
index e88cd33ad3b80b653a37bdd1db6e3ef5fe3aef2a..437aacf4afb451a0d81931bc82de251e0951275e 100644 |
--- a/src/contexts-inl.h |
+++ b/src/contexts-inl.h |
@@ -65,14 +65,14 @@ JSModule* Context::module() { return JSModule::cast(get(EXTENSION_INDEX)); } |
void Context::set_module(JSModule* module) { set(EXTENSION_INDEX, module); } |
-GlobalObject* Context::global_object() { |
+JSGlobalObject* Context::global_object() { |
Object* result = get(GLOBAL_OBJECT_INDEX); |
DCHECK(IsBootstrappingOrGlobalObject(this->GetIsolate(), result)); |
- return reinterpret_cast<GlobalObject*>(result); |
+ return reinterpret_cast<JSGlobalObject*>(result); |
} |
-void Context::set_global_object(GlobalObject* object) { |
+void Context::set_global_object(JSGlobalObject* object) { |
set(GLOBAL_OBJECT_INDEX, object); |
} |