Skip to content

Commit

Permalink
LibWeb: Port CSSKeyframeRules interface from DeprecatedString to String
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonbooth authored and ADKaster committed Aug 29, 2023
1 parent 15334a6 commit f3e5335
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ class CSSKeyframeRule final : public CSSRule {
CSS::Percentage key() const { return m_key; }
JS::NonnullGCPtr<CSSStyleDeclaration> 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);
}
Expand Down
2 changes: 1 addition & 1 deletion Userland/Libraries/LibWeb/CSS/CSSKeyframeRule.idl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <CSS/CSSRule.idl>

[Exposed=Window]
[Exposed=Window, UseNewAKString]
interface CSSKeyframeRule : CSSRule {
attribute CSSOMString keyText;
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
Expand Down

0 comments on commit f3e5335

Please sign in to comment.