mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
LibWeb: Make StyleRule.m_at_rule_name a FlyString
This commit is contained in:
parent
d67e817d8e
commit
4bdfc2bb32
1 changed files with 3 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/FlyString.h>
|
||||
#include <AK/RefCounted.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibWeb/CSS/Parser/Block.h>
|
||||
|
@ -31,13 +32,13 @@ public:
|
|||
|
||||
Vector<ComponentValue> const& prelude() const { return m_prelude; }
|
||||
RefPtr<Block const> block() const { return m_block; }
|
||||
String const& at_rule_name() const { return m_at_rule_name; }
|
||||
StringView at_rule_name() const { return m_at_rule_name; }
|
||||
|
||||
String to_string() const;
|
||||
|
||||
private:
|
||||
Type const m_type;
|
||||
String m_at_rule_name;
|
||||
FlyString m_at_rule_name;
|
||||
Vector<ComponentValue> m_prelude;
|
||||
RefPtr<Block> m_block;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue