From 33f42e3490e28de812490178e4d2157151f69495 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 6 Jan 2023 15:56:25 +0000 Subject: [PATCH] LibWeb: Remove redundant BFC::is_block_formatting_context() method This is marked as virtual, but the super-method isn't, and also, the super-method already returns the correct value, so this isn't needed. --- Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h b/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h index ae389c1735..22a97da3df 100644 --- a/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h +++ b/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h @@ -53,8 +53,6 @@ public: virtual void determine_height_of_child(Box const&, AvailableSpace const&) override; private: - virtual bool is_block_formatting_context() const final { return true; } - CSSPixels compute_auto_height_for_block_level_element(Box const&, AvailableSpace const&); void compute_width_for_floating_box(Box const&, AvailableSpace const&);