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

Unified Diff: extensions/renderer/argument_spec.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: extensions/renderer/argument_spec.cc
diff --git a/extensions/renderer/argument_spec.cc b/extensions/renderer/argument_spec.cc
index c46d320649a4ede808a0c2a29935226a4cf43bc1..734fd2ef4c4f7f92c829521547f5dd51ab973505 100644
--- a/extensions/renderer/argument_spec.cc
+++ b/extensions/renderer/argument_spec.cc
@@ -57,7 +57,7 @@ void ArgumentSpec::InitializeType(const base::DictionaryValue* dict) {
type_ = ArgumentType::CHOICES;
choices_.reserve(choices->GetSize());
for (const auto& choice : *choices)
- choices_.push_back(base::MakeUnique<ArgumentSpec>(*choice));
+ choices_.push_back(base::MakeUnique<ArgumentSpec>(choice));
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698