Index: chrome/browser/android/preferences/website_preference_bridge.cc |
diff --git a/chrome/browser/android/preferences/website_preference_bridge.cc b/chrome/browser/android/preferences/website_preference_bridge.cc |
index 070514a98cd9249014f6ded70a41d745b7c55377..1243f3aa8e9752529347e1afe596116f927988da 100644 |
--- a/chrome/browser/android/preferences/website_preference_bridge.cc |
+++ b/chrome/browser/android/preferences/website_preference_bridge.cc |
@@ -340,8 +340,7 @@ static void SetNotificationSettingForOrigin( |
ContentSetting setting = (ContentSetting) value; |
switch (setting) { |
case CONTENT_SETTING_DEFAULT: |
- DesktopNotificationProfileUtil::ClearSetting( |
- profile, ContentSettingsPattern::FromURLNoWildcard(url)); |
+ DesktopNotificationProfileUtil::ClearSetting(profile, url); |
break; |
case CONTENT_SETTING_ALLOW: |
DesktopNotificationProfileUtil::GrantPermission(profile, url); |