1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:24:58 +00:00

LibWeb: Port Storage interface from DeprecatedString to String

Which ends up bubbling all the way up to the Browser storage model.
This commit is contained in:
Shannon Booth 2023-08-26 16:30:02 +12:00 committed by Andrew Kaster
parent 6f85be501d
commit 901220c588
11 changed files with 39 additions and 35 deletions

View file

@ -10,10 +10,10 @@
namespace Browser {
void StorageModel::set_items(OrderedHashMap<DeprecatedString, DeprecatedString> map)
void StorageModel::set_items(OrderedHashMap<String, String> map)
{
begin_insert_rows({}, m_local_storage_entries.size(), m_local_storage_entries.size());
m_local_storage_entries = map;
m_local_storage_entries = move(map);
end_insert_rows();
did_update(DontInvalidateIndices);