Index: tools/json_schema_compiler/util.h |
diff --git a/tools/json_schema_compiler/util.h b/tools/json_schema_compiler/util.h |
index 61148c616a4e6ac2b268b61feb25331c1f50dde3..509b0dc1a772a0a9aca503052d70f2446f7a3b8a 100644 |
--- a/tools/json_schema_compiler/util.h |
+++ b/tools/json_schema_compiler/util.h |
@@ -34,7 +34,7 @@ bool GetItemFromList(const ListValue& from, int index, |
// This template is used for types generated by tools/json_schema_compiler. |
template<class T> |
bool GetItemFromList(const ListValue& from, int index, linked_ptr<T>* out) { |
- DictionaryValue* dict; |
+ const DictionaryValue* dict; |
if (!from.GetDictionary(index, &dict)) |
return false; |
scoped_ptr<T> obj(new T()); |