mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb/CSS: Remove unused default constructors in GridTrackSize.h
This commit is contained in:
parent
237356c5ca
commit
fdecdb9410
|
|
@ -36,12 +36,6 @@ GridSize::GridSize(Type type)
|
|||
m_type = type;
|
||||
}
|
||||
|
||||
GridSize::GridSize()
|
||||
: m_type(Type::LengthPercentage)
|
||||
, m_value { Length::make_auto() }
|
||||
{
|
||||
}
|
||||
|
||||
GridSize::~GridSize() = default;
|
||||
|
||||
bool GridSize::is_auto(Layout::AvailableSize const& available_size) const
|
||||
|
|
@ -129,11 +123,6 @@ GridFitContent::GridFitContent(GridSize max_grid_size)
|
|||
{
|
||||
}
|
||||
|
||||
GridFitContent::GridFitContent()
|
||||
: m_max_grid_size(GridSize::make_auto())
|
||||
{
|
||||
}
|
||||
|
||||
String GridFitContent::to_string() const
|
||||
{
|
||||
return MUST(String::formatted("fit-content({})", m_max_grid_size.to_string()));
|
||||
|
|
@ -152,10 +141,6 @@ GridRepeat::GridRepeat(GridTrackSizeList grid_track_size_list, Type type)
|
|||
{
|
||||
}
|
||||
|
||||
GridRepeat::GridRepeat()
|
||||
{
|
||||
}
|
||||
|
||||
String GridRepeat::to_string() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ public:
|
|||
GridSize(LengthPercentage);
|
||||
GridSize(Flex);
|
||||
GridSize(Type);
|
||||
GridSize();
|
||||
~GridSize();
|
||||
|
||||
static GridSize make_auto();
|
||||
|
|
@ -65,7 +64,6 @@ private:
|
|||
class GridFitContent {
|
||||
public:
|
||||
GridFitContent(GridSize);
|
||||
GridFitContent();
|
||||
|
||||
GridSize const& max_grid_size() const& { return m_max_grid_size; }
|
||||
|
||||
|
|
@ -79,7 +77,6 @@ private:
|
|||
class GridMinMax {
|
||||
public:
|
||||
GridMinMax(CSS::GridSize min_grid_size, CSS::GridSize max_grid_size);
|
||||
GridMinMax() = default;
|
||||
|
||||
GridSize const& min_grid_size() const& { return m_min_grid_size; }
|
||||
GridSize const& max_grid_size() const& { return m_max_grid_size; }
|
||||
|
|
@ -125,7 +122,6 @@ public:
|
|||
};
|
||||
GridRepeat(GridTrackSizeList, int repeat_count);
|
||||
GridRepeat(GridTrackSizeList, Type);
|
||||
GridRepeat();
|
||||
|
||||
bool is_auto_fill() const { return m_type == Type::AutoFill; }
|
||||
bool is_auto_fit() const { return m_type == Type::AutoFit; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user