1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -116,14 +116,14 @@ public:
String to_string() const;
bool operator==(const Length& other) const
bool operator==(Length const& other) const
{
if (is_calculated())
return m_calculated_style == other.m_calculated_style;
return m_type == other.m_type && m_value == other.m_value;
}
bool operator!=(const Length& other) const
bool operator!=(Length const& other) const
{
return !(*this == other);
}
@ -131,7 +131,7 @@ public:
float relative_length_to_px(Gfx::IntRect const& viewport_rect, Gfx::FontPixelMetrics const& font_metrics, float font_size, float root_font_size) const;
private:
const char* unit_name() const;
char const* unit_name() const;
Type m_type;
float m_value { 0 };