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:
parent
6f85be501d
commit
901220c588
11 changed files with 39 additions and 35 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue