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

Unified Diff: mojo/common/values_struct_traits.h

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: mojo/common/values_struct_traits.h
diff --git a/mojo/common/values_struct_traits.h b/mojo/common/values_struct_traits.h
index befcf3a6ea2816dd56e56f0a50933d9cec3548e0..0d0cac98ba24bbd3bbd93fb9edf395c071755a71 100644
--- a/mojo/common/values_struct_traits.h
+++ b/mojo/common/values_struct_traits.h
@@ -17,7 +17,7 @@ namespace mojo {
template <>
struct ArrayTraits<base::ListValue> {
- using Element = std::unique_ptr<base::Value>;
+ using Element = base::Value;
using ConstIterator = base::ListValue::const_iterator;
static size_t GetSize(const base::ListValue& input) {

Powered by Google App Engine
This is Rietveld 408576698