Index: modules/notifications/NotificationCenter.idl |
diff --git a/modules/notifications/NotificationCenter.idl b/modules/notifications/NotificationCenter.idl |
index 9dbc0fe68ab67642e977ca2f5816a3d26a8c3e9b..50b5e1514b0c8750a9147b83195d30ba42239fae 100644 |
--- a/modules/notifications/NotificationCenter.idl |
+++ b/modules/notifications/NotificationCenter.idl |
@@ -34,9 +34,7 @@ |
Conditional=LEGACY_NOTIFICATIONS, |
ActiveDOMObject |
] interface NotificationCenter { |
-#if !defined(ENABLE_TEXT_NOTIFICATIONS_ONLY) || !ENABLE_TEXT_NOTIFICATIONS_ONLY |
[EnabledPerContext=htmlNotifications, MeasureAs=LegacyHTMLNotifications, ActivityLog=Access, RaisesException] Notification createHTMLNotification(DOMString url); |
-#endif |
[MeasureAs=LegacyTextNotifications, ActivityLog=Access, RaisesException] Notification createNotification(DOMString iconUrl, DOMString title, DOMString body); |
long checkPermission(); |