1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 18:05:08 +00:00

LibGfx: Unpublish FloatRect from the global namespace

This commit is contained in:
Andreas Kling 2020-02-06 14:33:05 +01:00
parent 418adf3e86
commit 8505d8d15d
8 changed files with 18 additions and 20 deletions

View file

@ -38,7 +38,7 @@ void LineBox::add_fragment(const LayoutNode& layout_node, int start, int length,
m_fragments.last().m_length = (start - m_fragments.last().m_start) + length;
m_fragments.last().m_rect.set_width(m_fragments.last().m_rect.width() + width);
} else {
m_fragments.empend(layout_node, start, length, FloatRect(m_width, 0, width, height));
m_fragments.empend(layout_node, start, length, Gfx::FloatRect(m_width, 0, width, height));
}
m_width += width;
}