diff options
Diffstat (limited to 'Userland/Applications/Spreadsheet/Spreadsheet.cpp')
-rw-r--r-- | Userland/Applications/Spreadsheet/Spreadsheet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/Spreadsheet.cpp b/Userland/Applications/Spreadsheet/Spreadsheet.cpp index 1ce8c0d3b6..437941f884 100644 --- a/Userland/Applications/Spreadsheet/Spreadsheet.cpp +++ b/Userland/Applications/Spreadsheet/Spreadsheet.cpp @@ -61,7 +61,7 @@ Sheet::Sheet(Workbook& workbook) { JS::DeferGC defer_gc(m_workbook.interpreter().heap()); m_global_object = m_workbook.interpreter().heap().allocate_without_global_object<SheetGlobalObject>(*this); - global_object().initialize(); + global_object().initialize_global_object(); global_object().put("workbook", m_workbook.workbook_object()); global_object().put("thisSheet", &global_object()); // Self-reference is unfortunate, but required. |