Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: chrome/common/extensions/extension_manifests_unittest.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension_manifests_unittest.cc
diff --git a/chrome/common/extensions/extension_manifests_unittest.cc b/chrome/common/extensions/extension_manifests_unittest.cc
index 2fd647c0ecb57b24ff1f9f71736893d7b3aed67c..ec9c3197ae8670f820d2ed0c714639d34d691aaa 100644
--- a/chrome/common/extensions/extension_manifests_unittest.cc
+++ b/chrome/common/extensions/extension_manifests_unittest.cc
@@ -637,7 +637,7 @@ TEST_F(ExtensionManifestTest, AllowUnrecognizedPermissions) {
i != api_perms.end(); ++i) {
ExtensionAPIPermission* permission = info->GetByID(*i);
const char* name = permission->name();
- StringValue* p = new StringValue(name);
+ StringValue* p = base::StringValue::New(name);
permissions->Clear();
permissions->Append(p);
std::string message_name = base::StringPrintf("permission-%s", name);
« no previous file with comments | « chrome/common/custom_handlers/protocol_handler.cc ('k') | chrome/common/extensions/extension_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698