1
Fork 0
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:
Shannon Booth 2023-08-27 19:01:28 +12:00 committed by Andrew Kaster
parent 826374d04b
commit 15334a68df
2 changed files with 2 additions and 5 deletions

View file

@ -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)