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

Unified Diff: remoting/test/host_list_fetcher.cc

Issue 2000803003: Use std::unique_ptr for base::DictionaryValue and base::ListValue's internal store. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More fixes Created 4 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 | « remoting/test/host_info.cc ('k') | services/catalog/entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/host_list_fetcher.cc
diff --git a/remoting/test/host_list_fetcher.cc b/remoting/test/host_list_fetcher.cc
index 3b1c6b4fa7124e7e3299affa334be53fc7a68d12..5cb46d565f37feef3e499f36a990b528dece06c1 100644
--- a/remoting/test/host_list_fetcher.cc
+++ b/remoting/test/host_list_fetcher.cc
@@ -88,7 +88,7 @@ bool HostListFetcher::ProcessResponse(
// Any host_info with malformed data will not be added to the hostlist.
base::DictionaryValue* host_dict;
- for (base::Value* host_info : *hosts) {
+ for (const auto& host_info : *hosts) {
HostInfo host;
if (host_info->GetAsDictionary(&host_dict) &&
host.ParseHostInfo(*host_dict)) {
« no previous file with comments | « remoting/test/host_info.cc ('k') | services/catalog/entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698