LibWeb/CSS: Remove unused default constructors in GridTrackSize.h
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

This commit is contained in:
Aliaksandr Kalenik 2025-06-13 17:58:46 +02:00 committed by Alexander Kalenik
parent 237356c5ca
commit fdecdb9410
Notes: github-actions[bot] 2025-06-13 17:58:02 +00:00
2 changed files with 0 additions and 19 deletions

View file

@ -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;

View file

@ -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; }