diff --git a/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.h b/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.h index 35231c08c2d..0d1abdff70e 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.h +++ b/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.h @@ -29,12 +29,12 @@ public: CSS::Percentage key() const { return m_key; } JS::NonnullGCPtr style() const { return m_declarations; } - DeprecatedString key_text() const + String key_text() const { - return m_key.to_string().to_deprecated_string(); + return m_key.to_string(); } - void set_key_text(DeprecatedString const& key_text) + void set_key_text(String const& key_text) { dbgln("FIXME: CSSKeyframeRule::set_key_text is not implemented: {}", key_text); } diff --git a/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.idl b/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.idl index 4cf2c131e3c..66b8fea4b4f 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.idl +++ b/Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.idl @@ -1,6 +1,6 @@ #import -[Exposed=Window] +[Exposed=Window, UseNewAKString] interface CSSKeyframeRule : CSSRule { attribute CSSOMString keyText; [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;