mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
LibWeb: Port CSSKeyframesRules interface from DeprecatedString to String
This commit is contained in:
parent
826374d04b
commit
15334a68df
2 changed files with 2 additions and 5 deletions
|
@ -31,10 +31,7 @@ public:
|
|||
FlyString const& name() const { return m_name; }
|
||||
size_t length() { return m_keyframes.size(); }
|
||||
|
||||
void set_name(DeprecatedString const& name)
|
||||
{
|
||||
m_name = FlyString::from_utf8(name.view()).release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
void set_name(String const& name) { m_name = name; }
|
||||
|
||||
private:
|
||||
CSSKeyframesRule(JS::Realm& realm, FlyString name, Vector<JS::NonnullGCPtr<CSSKeyframeRule>> keyframes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue