mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:38:10 +00:00
AK+Everywhere: Rename String to DeprecatedString
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
This commit is contained in:
parent
f74251606d
commit
6e19ab2bbc
2006 changed files with 11635 additions and 11636 deletions
|
@ -119,7 +119,7 @@ u32 Selector::specificity() const
|
|||
}
|
||||
|
||||
// https://www.w3.org/TR/cssom/#serialize-a-simple-selector
|
||||
String Selector::SimpleSelector::serialize() const
|
||||
DeprecatedString Selector::SimpleSelector::serialize() const
|
||||
{
|
||||
StringBuilder s;
|
||||
switch (type) {
|
||||
|
@ -279,7 +279,7 @@ String Selector::SimpleSelector::serialize() const
|
|||
}
|
||||
|
||||
// https://www.w3.org/TR/cssom/#serialize-a-selector
|
||||
String Selector::serialize() const
|
||||
DeprecatedString Selector::serialize() const
|
||||
{
|
||||
StringBuilder s;
|
||||
|
||||
|
@ -337,7 +337,7 @@ String Selector::serialize() const
|
|||
}
|
||||
|
||||
// https://www.w3.org/TR/cssom/#serialize-a-group-of-selectors
|
||||
String serialize_a_group_of_selectors(NonnullRefPtrVector<Selector> const& selectors)
|
||||
DeprecatedString serialize_a_group_of_selectors(NonnullRefPtrVector<Selector> const& selectors)
|
||||
{
|
||||
// To serialize a group of selectors serialize each selector in the group of selectors and then serialize a comma-separated list of these serializations.
|
||||
StringBuilder builder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue