mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
Spreadsheet: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr
This commit is contained in:
parent
7c0c1c8f49
commit
b5f01bd212
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ private:
|
||||||
HashTable<Position> m_selected_cells;
|
HashTable<Position> m_selected_cells;
|
||||||
|
|
||||||
Workbook& m_workbook;
|
Workbook& m_workbook;
|
||||||
mutable SheetGlobalObject* m_global_object;
|
mutable JS::GCPtr<SheetGlobalObject> m_global_object;
|
||||||
|
|
||||||
NonnullOwnPtr<JS::Interpreter> m_interpreter;
|
NonnullOwnPtr<JS::Interpreter> m_interpreter;
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ private:
|
||||||
NonnullRefPtr<JS::VM> m_vm;
|
NonnullRefPtr<JS::VM> m_vm;
|
||||||
NonnullOwnPtr<JS::Interpreter> m_interpreter;
|
NonnullOwnPtr<JS::Interpreter> m_interpreter;
|
||||||
JS::VM::InterpreterExecutionScope m_interpreter_scope;
|
JS::VM::InterpreterExecutionScope m_interpreter_scope;
|
||||||
WorkbookObject* m_workbook_object { nullptr };
|
JS::GCPtr<WorkbookObject> m_workbook_object;
|
||||||
JS::ExecutionContext m_main_execution_context;
|
JS::ExecutionContext m_main_execution_context;
|
||||||
GUI::Window& m_parent_window;
|
GUI::Window& m_parent_window;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue