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

Unified Diff: content/browser/devtools/protocol/tracing_handler.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: content/browser/devtools/protocol/tracing_handler.cc
diff --git a/content/browser/devtools/protocol/tracing_handler.cc b/content/browser/devtools/protocol/tracing_handler.cc
index 11a508b8297611382c0a01af415500d3926bd21d..e1ffb4d989f43fbdf20eb9248ba581757deca7be 100644
--- a/content/browser/devtools/protocol/tracing_handler.cc
+++ b/content/browser/devtools/protocol/tracing_handler.cc
@@ -63,7 +63,7 @@ std::unique_ptr<base::Value> ConvertDictKeyStyle(const base::Value& value) {
if (value.GetAsList(&list)) {
std::unique_ptr<base::ListValue> out_list(new base::ListValue());
for (const auto& value : *list)
- out_list->Append(ConvertDictKeyStyle(*value));
+ out_list->Append(ConvertDictKeyStyle(value));
return std::move(out_list);
}

Powered by Google App Engine
This is Rietveld 408576698