Index: tools/json_schema_compiler/util.cc |
diff --git a/tools/json_schema_compiler/util.cc b/tools/json_schema_compiler/util.cc |
index 9d8abd5cdab51e75e72ce5e9dc54089e8109d1fa..ca5c25ab8289d52763c8e21046e9b87b717aba2a 100644 |
--- a/tools/json_schema_compiler/util.cc |
+++ b/tools/json_schema_compiler/util.cc |
@@ -28,7 +28,7 @@ bool GetItemFromList(const ListValue& from, int index, std::string* out) { |
bool GetItemFromList(const ListValue& from, int index, |
linked_ptr<any::Any>* out) { |
- Value* value = NULL; |
+ const Value* value = NULL; |
if (!from.Get(index, &value)) |
return false; |
scoped_ptr<any::Any> any_object(new any::Any()); |
@@ -39,7 +39,7 @@ bool GetItemFromList(const ListValue& from, int index, |
bool GetItemFromList(const ListValue& from, int index, |
linked_ptr<base::DictionaryValue>* out) { |
- DictionaryValue* dict = NULL; |
+ const DictionaryValue* dict = NULL; |
if (!from.GetDictionary(index, &dict)) |
return false; |
*out = linked_ptr<DictionaryValue>(dict->DeepCopy()); |