refactor: replace base::Value::DeepCopy and CreateDeepCopy with Clone (#14420)
This commit is contained in:
parent
8e1452d316
commit
aa01a7337c
2 changed files with 3 additions and 2 deletions
|
@ -53,7 +53,7 @@ void RenderProcessPreferences::UpdateCache() {
|
|||
|
||||
cached_entries_.Clear();
|
||||
for (const auto& iter : entries_)
|
||||
cached_entries_.Append(iter.second->CreateDeepCopy());
|
||||
cached_entries_.Append(base::Value::ToUniquePtrValue(iter.second->Clone()));
|
||||
cache_needs_update_ = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue