Index: chrome/browser/notifications/platform_notification_service_interactive_uitest.cc |
diff --git a/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc b/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc |
index 936d5dd6e5d669878d7b631d9f37303191de58e7..36c21e0b1110fc3b1b260b90d7aa1df790225da5 100644 |
--- a/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc |
+++ b/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc |
@@ -147,8 +147,7 @@ void PlatformNotificationServiceBrowserTest::SetUpDefaultCommandLine( |
#if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) |
// TODO(crbug.com/714679): Temporary change while tests are upgraded to deal |
// with native notifications. |
- command_line->AppendSwitchASCII(switches::kDisableFeatures, |
- features::kNativeNotifications.name); |
+ feature_list_.InitAndDisableFeature(features::kNativeNotifications); |
#endif // BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) |
} |