diff options
Diffstat (limited to 'chrome/browser/media_galleries/media_galleries_test_util.cc')
-rw-r--r-- | chrome/browser/media_galleries/media_galleries_test_util.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/media_galleries/media_galleries_test_util.cc b/chrome/browser/media_galleries/media_galleries_test_util.cc index 736fb30..e6108fb 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); |