diff options
author | Matthew Olsson <matthewcolsson@gmail.com> | 2023-02-26 16:09:02 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-15 08:48:49 +0100 |
commit | 7c0c1c8f4969abeec1436346f29081b3afbcdeab (patch) | |
tree | 985c294882161720a82dc54c70d0680e29700ec9 /Userland/Libraries/LibWeb/Layout/TableFormattingContext.h | |
parent | 1df3652e272e1aa69b3a1f8d1730ec464242ada9 (diff) | |
download | serenity-7c0c1c8f4969abeec1436346f29081b3afbcdeab.zip |
LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/TableFormattingContext.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/TableFormattingContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/TableFormattingContext.h b/Userland/Libraries/LibWeb/Layout/TableFormattingContext.h index 59b318d286..feb5bbb3f6 100644 --- a/Userland/Libraries/LibWeb/Layout/TableFormattingContext.h +++ b/Userland/Libraries/LibWeb/Layout/TableFormattingContext.h @@ -57,13 +57,13 @@ private: }; struct Row { - Box& box; + JS::NonnullGCPtr<Box> box; CSSPixels used_height { 0 }; CSSPixels baseline { 0 }; }; struct Cell { - Box& box; + JS::NonnullGCPtr<Box> box; size_t column_index; size_t row_index; size_t column_span; |