diff options
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/Painting/PaintableBox.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/Painting/PaintableBox.cpp b/Userland/Libraries/LibWeb/Painting/PaintableBox.cpp index d1deb1f8da..2cdfbbbf22 100644 --- a/Userland/Libraries/LibWeb/Painting/PaintableBox.cpp +++ b/Userland/Libraries/LibWeb/Painting/PaintableBox.cpp @@ -39,8 +39,6 @@ PaintableWithLines::~PaintableWithLines() void PaintableBox::set_offset(const Gfx::FloatPoint& offset) { - if (m_offset == offset) - return; m_offset = offset; // FIXME: This const_cast is gross. const_cast<Layout::Box&>(layout_box()).did_set_rect(); @@ -48,8 +46,6 @@ void PaintableBox::set_offset(const Gfx::FloatPoint& offset) void PaintableBox::set_content_size(Gfx::FloatSize const& size) { - if (m_content_size == size) - return; m_content_size = size; // FIXME: This const_cast is gross. const_cast<Layout::Box&>(layout_box()).did_set_rect(); |