Index: modules/notifications/WorkerContextNotifications.idl |
diff --git a/modules/notifications/WorkerContextNotifications.idl b/modules/notifications/WorkerContextNotifications.idl |
index aae97b3b6f59af88c784f5af5e091dd849803a48..e8f86b9ab89609a4b11d2c3ada5bbb9afa5c2d4c 100644 |
--- a/modules/notifications/WorkerContextNotifications.idl |
+++ b/modules/notifications/WorkerContextNotifications.idl |
@@ -27,8 +27,6 @@ |
[ |
Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS |
] partial interface WorkerContext { |
-#if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS |
- [EnabledAtRuntime=notifications] readonly attribute NotificationCenter webkitNotifications; |
-#endif |
+ [EnabledAtRuntime=notifications, Conditional=LEGACY_NOTIFICATIONS] readonly attribute NotificationCenter webkitNotifications; |
}; |