Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: content/browser/indexed_db/indexed_db_context_impl.cc

Issue 2891933004: Remove raw base::DictionaryValue::Set in //content (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/gpu/gpu_internals_ui.cc ('k') | content/browser/media/media_internals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_context_impl.cc
diff --git a/content/browser/indexed_db/indexed_db_context_impl.cc b/content/browser/indexed_db/indexed_db_context_impl.cc
index ec8a2c8fb37568edbd73a453ffec3e14a3b81526..660a48abd449aaf75f913ddba65fd50ef3517cfe 100644
--- a/content/browser/indexed_db/indexed_db_context_impl.cc
+++ b/content/browser/indexed_db/indexed_db_context_impl.cc
@@ -179,7 +179,7 @@ base::ListValue* IndexedDBContextImpl::GetAllOriginsDetails() {
base::MakeUnique<base::ListValue>());
for (const base::FilePath& path : GetStoragePaths(origin))
paths->AppendString(path.value());
- info->Set("paths", paths.release());
+ info->Set("paths", std::move(paths));
}
info->SetDouble("connection_count", GetConnectionCount(origin));
@@ -260,14 +260,14 @@ base::ListValue* IndexedDBContextImpl::GetAllOriginsDetails() {
scope->AppendString(it->second.name);
}
- transaction_info->Set("scope", scope.release());
+ transaction_info->Set("scope", std::move(scope));
transaction_list->Append(std::move(transaction_info));
}
- db_info->Set("transactions", transaction_list.release());
+ db_info->Set("transactions", std::move(transaction_list));
database_list->Append(std::move(db_info));
}
- info->Set("databases", database_list.release());
+ info->Set("databases", std::move(database_list));
}
list->Append(std::move(info));
« no previous file with comments | « content/browser/gpu/gpu_internals_ui.cc ('k') | content/browser/media/media_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698