| 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 62f8784ad826e58770d414d87097f71c5e294a26..4568725bf419d56043712a4af8d4b63adae9a412 100644
|
| --- a/chrome/browser/android/preferences/website_preference_bridge.cc
|
| +++ b/chrome/browser/android/preferences/website_preference_bridge.cc
|
| @@ -313,11 +313,9 @@ static jint GetNotificationSettingForOrigin(
|
| JNIEnv* env,
|
| const JavaParamRef<jclass>& clazz,
|
| const JavaParamRef<jstring>& origin,
|
| - const JavaParamRef<jstring>& embedder,
|
| jboolean is_incognito) {
|
| - return DesktopNotificationProfileUtil::GetContentSetting(
|
| - GetActiveUserProfile(is_incognito),
|
| - GURL(ConvertJavaStringToUTF8(env, origin)));
|
| + return GetSettingForOrigin(env, CONTENT_SETTINGS_TYPE_NOTIFICATIONS,
|
| + origin, origin, is_incognito);
|
| }
|
|
|
| static void SetNotificationSettingForOrigin(
|
|
|