summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-06 20:06:17 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-06 20:10:36 +0200
commitfa45b905bf404f3531406602294ee8d6a6896547 (patch)
treec343ca31146cd280328f703c7340eb6ed981f826
parentc4826eae4fedaaa00985401aa33c6a7b2f70c11d (diff)
downloadserenity-fa45b905bf404f3531406602294ee8d6a6896547.zip
LibWeb: Remove unused local in FormattingContext::layout_inside()
-rw-r--r--Userland/Libraries/LibWeb/Layout/FormattingContext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
index a22eb9e848..e0188565ec 100644
--- a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
+++ b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
@@ -76,8 +76,6 @@ bool FormattingContext::creates_block_formatting_context(const Box& box)
void FormattingContext::layout_inside(Box& child_box, LayoutMode layout_mode)
{
- auto context_display = context_box().computed_values().display();
-
if (is<SVGSVGBox>(child_box)) {
SVGFormattingContext context(child_box, this);
context.run(child_box, layout_mode);