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

Unified Diff: extensions/renderer/argument_spec.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Fix Android Compilation Error 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 1a9b2ccbb2ef300c87bc3d1c3d5f73e8a4676fd3..8232b6cf6a876dd58219ff4f9859e95cd3625d14 100644
--- a/extensions/renderer/argument_spec.cc
+++ b/extensions/renderer/argument_spec.cc
@@ -59,7 +59,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