Index: chrome/browser/media_galleries/media_galleries_test_util.cc |
diff --git a/chrome/browser/media_galleries/media_galleries_test_util.cc b/chrome/browser/media_galleries/media_galleries_test_util.cc |
index 736fb30812372fc5fa90bdcaa729a337e4ace63f..e6108fb96c3564246fdca27fd7ca32f063dd87f7 100644 |
--- a/chrome/browser/media_galleries/media_galleries_test_util.cc |
+++ b/chrome/browser/media_galleries/media_galleries_test_util.cc |
@@ -44,15 +44,14 @@ scoped_refptr<extensions::Extension> AddMediaGalleriesApp( |
manifest->SetString(extensions::manifest_keys::kVersion, "0.1"); |
manifest->SetInteger(extensions::manifest_keys::kManifestVersion, 2); |
base::ListValue* background_script_list = new base::ListValue; |
- background_script_list->Append( |
- base::Value::CreateStringValue("background.js")); |
+ background_script_list->Append(new base::StringValue("background.js")); |
manifest->Set(extensions::manifest_keys::kPlatformAppBackgroundScripts, |
background_script_list); |
base::ListValue* permission_detail_list = new base::ListValue; |
for (size_t i = 0; i < media_galleries_permissions.size(); i++) |
permission_detail_list->Append( |
- base::Value::CreateStringValue(media_galleries_permissions[i])); |
+ new base::StringValue(media_galleries_permissions[i])); |
base::DictionaryValue* media_galleries_permission = |
new base::DictionaryValue(); |
media_galleries_permission->Set("mediaGalleries", permission_detail_list); |