| Index: chrome/browser/extensions/menu_manager.cc
|
| diff --git a/chrome/browser/extensions/menu_manager.cc b/chrome/browser/extensions/menu_manager.cc
|
| index e599f3bd238cfba0ce9ff0075d3ee8f225ea2500..92154f981e8a0f222515f477b05df60376a12daa 100644
|
| --- a/chrome/browser/extensions/menu_manager.cc
|
| +++ b/chrome/browser/extensions/menu_manager.cc
|
| @@ -219,7 +219,7 @@ MenuItem* MenuItem::Populate(const std::string& extension_id,
|
| if (!value.GetBoolean(kEnabledKey, &enabled))
|
| return NULL;
|
| ContextList contexts;
|
| - Value* contexts_value = NULL;
|
| + const Value* contexts_value = NULL;
|
| if (!value.Get(kContextsKey, &contexts_value))
|
| return NULL;
|
| if (!contexts.Populate(*contexts_value))
|
| @@ -248,7 +248,7 @@ bool MenuItem::PopulateURLPatterns(const DictionaryValue& properties,
|
| const char* target_url_patterns_key,
|
| std::string* error) {
|
| if (properties.HasKey(document_url_patterns_key)) {
|
| - ListValue* list = NULL;
|
| + const ListValue* list = NULL;
|
| if (!properties.GetList(document_url_patterns_key, &list))
|
| return false;
|
| if (!document_url_patterns_.Populate(
|
| @@ -257,7 +257,7 @@ bool MenuItem::PopulateURLPatterns(const DictionaryValue& properties,
|
| }
|
| }
|
| if (properties.HasKey(target_url_patterns_key)) {
|
| - ListValue* list = NULL;
|
| + const ListValue* list = NULL;
|
| if (!properties.GetList(target_url_patterns_key, &list))
|
| return false;
|
| if (!target_url_patterns_.Populate(
|
|
|