| Index: base/prefs/pref_member.cc
|
| diff --git a/base/prefs/pref_member.cc b/base/prefs/pref_member.cc
|
| index a77224356677252f6bf09ce3ca1be165035dc47c..ca6e3bed44e5fa45ba0dbf7ab54b42cc97ec539d 100644
|
| --- a/base/prefs/pref_member.cc
|
| +++ b/base/prefs/pref_member.cc
|
| @@ -135,10 +135,11 @@ bool PrefMemberVectorStringUpdate(const base::Value& value,
|
| std::vector<std::string>* string_vector) {
|
| if (!value.IsType(base::Value::TYPE_LIST))
|
| return false;
|
| - const ListValue* list = static_cast<const ListValue*>(&value);
|
| + const base::ListValue* list = static_cast<const base::ListValue*>(&value);
|
|
|
| std::vector<std::string> local_vector;
|
| - for (ListValue::const_iterator it = list->begin(); it != list->end(); ++it) {
|
| + for (base::ListValue::const_iterator it = list->begin();
|
| + it != list->end(); ++it) {
|
| std::string string_value;
|
| if (!(*it)->GetAsString(&string_value))
|
| return false;
|
| @@ -212,7 +213,7 @@ bool PrefMember<base::FilePath>::Internal::UpdateValueInternal(
|
| template <>
|
| void PrefMember<std::vector<std::string> >::UpdatePref(
|
| const std::vector<std::string>& value) {
|
| - ListValue list_value;
|
| + base::ListValue list_value;
|
| list_value.AppendStrings(value);
|
| prefs()->Set(pref_name().c_str(), list_value);
|
| }
|
|
|