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

Unified Diff: chrome/browser/content_settings/content_settings_notification_provider.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/browser/content_settings/content_settings_notification_provider.cc
diff --git a/chrome/browser/content_settings/content_settings_notification_provider.cc b/chrome/browser/content_settings/content_settings_notification_provider.cc
index 98893be0aa19a7bfe73d61bf8a37e69dbc5b2d88..f88b65d4ce988c8bf0cdbc29302115ba0dee95e1 100644
--- a/chrome/browser/content_settings/content_settings_notification_provider.cc
+++ b/chrome/browser/content_settings/content_settings_notification_provider.cc
@@ -276,7 +276,7 @@ void NotificationProvider::PersistPermissionChange(
ListValue* allowed_sites = update_allowed_sites.Get();
ListValue* denied_sites = update_denied_sites.Get();
// |value| is passed to the preferences list, or deleted.
- StringValue* value = new StringValue(origin.spec());
+ StringValue* value = base::StringValue::New(origin.spec());
// Remove from one list and add to the other.
if (is_allowed) {

Powered by Google App Engine
This is Rietveld 408576698