1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:07:46 +00:00

LibWeb: Extract changing an attribute to its own method

This will be needed outside of this the method to set an existing
attribute, so do not inline this implementation.
This commit is contained in:
Timothy Flynn 2023-09-01 10:40:37 -04:00 committed by Ali Mohammad Pur
parent 889e6ab43d
commit 2c096486a4
2 changed files with 14 additions and 5 deletions

View file

@ -33,6 +33,7 @@ public:
DeprecatedString const& value() const { return m_value; }
void set_value(DeprecatedString value);
void change_attribute(DeprecatedString value);
Element* owner_element();
Element const* owner_element() const;