diff options
Diffstat (limited to 'Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSValueID.cpp')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSValueID.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSValueID.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSValueID.cpp index 29a30fea72..0787020840 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSValueID.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateCSSValueID.cpp @@ -57,7 +57,7 @@ enum class ValueID { identifier_data.for_each([&](auto& name) { auto member_generator = generator.fork(); - member_generator.set("name:titlecase", title_casify(name.to_string())); + member_generator.set("name:titlecase", title_casify(name.to_deprecated_string())); member_generator.append(R"~~~( @name:titlecase@, @@ -95,8 +95,8 @@ ValueID value_id_from_string(StringView string) identifier_data.for_each([&](auto& name) { auto member_generator = generator.fork(); - member_generator.set("name", name.to_string()); - member_generator.set("name:titlecase", title_casify(name.to_string())); + member_generator.set("name", name.to_deprecated_string()); + member_generator.set("name:titlecase", title_casify(name.to_deprecated_string())); member_generator.append(R"~~~( if (string.equals_ignoring_case("@name@"sv)) return ValueID::@name:titlecase@; @@ -113,8 +113,8 @@ const char* string_from_value_id(ValueID value_id) { identifier_data.for_each([&](auto& name) { auto member_generator = generator.fork(); - member_generator.set("name", name.to_string()); - member_generator.set("name:titlecase", title_casify(name.to_string())); + member_generator.set("name", name.to_deprecated_string()); + member_generator.set("name:titlecase", title_casify(name.to_deprecated_string())); member_generator.append(R"~~~( case ValueID::@name:titlecase@: return "@name@"; |