mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
LibWeb: Make Declaration.m_name a FlyString
This commit is contained in:
parent
f235da27d9
commit
69496f4afd
Notes:
sideshowbarker
2024-07-17 11:51:58 +09:00
Author: https://github.com/AtkinsSJ
Commit: 69496f4afd
Pull-request: https://github.com/SerenityOS/serenity/pull/13643
2 changed files with 3 additions and 3 deletions
|
@ -20,14 +20,14 @@ public:
|
|||
Declaration();
|
||||
~Declaration();
|
||||
|
||||
String const& name() const { return m_name; }
|
||||
StringView name() const { return m_name; }
|
||||
Vector<ComponentValue> const& values() const { return m_values; }
|
||||
Important importance() const { return m_important; }
|
||||
|
||||
String to_string() const;
|
||||
|
||||
private:
|
||||
String m_name;
|
||||
FlyString m_name;
|
||||
Vector<ComponentValue> m_values;
|
||||
Important m_important { Important::No };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue