summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-10-15 23:15:12 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-21 01:08:14 +0200
commitc55527944cdc46471702063f4eff6f3ed99e7fa7 (patch)
tree4d38d452eff899111e7c82d89569a1dd8cb83557 /Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
parenta36d13e36c707635b2b0b6727d542b92e609277a (diff)
downloadserenity-c55527944cdc46471702063f4eff6f3ed99e7fa7.zip
LibWeb: Convert const pointer to nonnull into a reference
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/FormattingContext.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/FormattingContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
index c11c5bb1ca..d6899a790c 100644
--- a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
+++ b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
@@ -22,7 +22,7 @@ namespace Web::Layout {
FormattingContext::FormattingContext(Type type, Box& context_box, FormattingContext* parent)
: m_type(type)
, m_parent(parent)
- , m_context_box(&context_box)
+ , m_context_box(context_box)
{
}