mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 04:55:15 +00:00
Spreadsheet: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr
This commit is contained in:
parent
7c0c1c8f49
commit
b5f01bd212
Notes:
sideshowbarker
2024-07-17 06:39:26 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/b5f01bd212 Pull-request: https://github.com/SerenityOS/serenity/pull/17743 Reviewed-by: https://github.com/linusg ✅
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ private:
|
|||
HashTable<Position> m_selected_cells;
|
||||
|
||||
Workbook& m_workbook;
|
||||
mutable SheetGlobalObject* m_global_object;
|
||||
mutable JS::GCPtr<SheetGlobalObject> m_global_object;
|
||||
|
||||
NonnullOwnPtr<JS::Interpreter> m_interpreter;
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ private:
|
|||
NonnullRefPtr<JS::VM> m_vm;
|
||||
NonnullOwnPtr<JS::Interpreter> m_interpreter;
|
||||
JS::VM::InterpreterExecutionScope m_interpreter_scope;
|
||||
WorkbookObject* m_workbook_object { nullptr };
|
||||
JS::GCPtr<WorkbookObject> m_workbook_object;
|
||||
JS::ExecutionContext m_main_execution_context;
|
||||
GUI::Window& m_parent_window;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue