Index: chrome/browser/notifications/platform_notification_service_unittest.cc |
diff --git a/chrome/browser/notifications/platform_notification_service_unittest.cc b/chrome/browser/notifications/platform_notification_service_unittest.cc |
index a7ed01980cb9ce9884ff49c81cfaac0125f46931..808fdd2931306d60a08898fe47df4a72ed4925bf 100644 |
--- a/chrome/browser/notifications/platform_notification_service_unittest.cc |
+++ b/chrome/browser/notifications/platform_notification_service_unittest.cc |
@@ -165,11 +165,7 @@ class PlatformNotificationServiceTest : public testing::Test { |
} |
Notification GetDisplayedNotification() { |
-#if defined(OS_ANDROID) |
- return static_cast<StubNotificationPlatformBridge*>( |
- g_browser_process->notification_platform_bridge()) |
- ->GetNotificationAt(profile_->GetPath().BaseName().value(), 0); |
-#elif BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) |
+#if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) |
if (base::FeatureList::IsEnabled(features::kNativeNotifications)) { |
return static_cast<StubNotificationPlatformBridge*>( |
g_browser_process->notification_platform_bridge()) |