| Index: chrome/browser/extensions/extension_service_unittest.cc
|
| diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc
|
| index 76212643f7420042f0f4f85eca7bbe195cb2dc0f..cf0d1b91079696e86414055ae6efc9bc2e729735 100644
|
| --- a/chrome/browser/extensions/extension_service_unittest.cc
|
| +++ b/chrome/browser/extensions/extension_service_unittest.cc
|
| @@ -747,7 +747,7 @@ class ExtensionServiceTest
|
| base::ListValue* list_value = new base::ListValue();
|
| for (std::set<std::string>::const_iterator iter = value.begin();
|
| iter != value.end(); ++iter)
|
| - list_value->Append(new base::StringValue(*iter));
|
| + list_value->AppendString(*iter);
|
|
|
| SetPref(extension_id, pref_path, list_value, msg);
|
| }
|
| @@ -1644,8 +1644,7 @@ TEST_F(ExtensionServiceTest, GrantedAPIAndHostPermissions) {
|
| host_permissions.insert("http://*.google.com.hk/*");
|
|
|
| base::ListValue* api_permissions = new base::ListValue();
|
| - api_permissions->Append(
|
| - new base::StringValue("tabs"));
|
| + api_permissions->AppendString("tabs");
|
| SetPref(extension_id, "granted_permissions.api",
|
| api_permissions, "granted_permissions.api");
|
| SetPrefStringSet(
|
|
|