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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates Created 3 years, 9 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
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
index 8f7db517adb5fc1d1c4040a30ef041bcb43012d4..cbf28f53ae138314cf511e1db2135f86f01e768b 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc
@@ -54,7 +54,7 @@ std::string JoinListValueStrings(base::ListValue* list_value) {
std::vector<std::string> values;
for (const auto& value : *list_value) {
std::string value_string;
- if (!value->GetAsString(&value_string))
+ if (!value.GetAsString(&value_string))
return std::string();
values.push_back(std::move(value_string));

Powered by Google App Engine
This is Rietveld 408576698