LibWeb/CSS: Return StringStyleValue's FlyString by reference
Most of the time this copy is completely unnecessary, so let's avoid it!
This commit is contained in:
parent
2516297c86
commit
f7f8d2fe0d
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ public:
|
|||
}
|
||||
virtual ~StringStyleValue() override = default;
|
||||
|
||||
FlyString string_value() const { return m_string; }
|
||||
FlyString const& string_value() const { return m_string; }
|
||||
String to_string() const override { return serialize_a_string(m_string); }
|
||||
|
||||
bool properties_equal(StringStyleValue const& other) const { return m_string == other.m_string; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue