mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
LibWeb: Port supported property names from DeprecatedString to String
This commit is contained in:
parent
66ac0d88a3
commit
629f661e3b
19 changed files with 59 additions and 59 deletions
|
@ -149,13 +149,13 @@ void Storage::broadcast(StringView key, StringView old_value, StringView new_val
|
|||
// FIXME: Implement.
|
||||
}
|
||||
|
||||
Vector<DeprecatedString> Storage::supported_property_names() const
|
||||
Vector<String> Storage::supported_property_names() const
|
||||
{
|
||||
// The supported property names on a Storage object storage are the result of running get the keys on storage's map.
|
||||
Vector<DeprecatedString> names;
|
||||
Vector<String> names;
|
||||
names.ensure_capacity(m_map.size());
|
||||
for (auto const& key : m_map.keys())
|
||||
names.unchecked_append(key.to_deprecated_string());
|
||||
names.unchecked_append(key);
|
||||
return names;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue