Fix build for non-iOS platforms. :|
[WebKit-https.git] / Source / WebCore / Modules / notifications / Notification.idl
index 6aad054..1ddf5b3 100644 (file)
@@ -35,9 +35,8 @@
     EventTarget,
 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
     Constructor(DOMString title, [Default=Undefined] optional Dictionary options),
-    ConstructorCallWith=ScriptExecutionContext,
+    ConstructorCallWith=Document,
 #endif
-    OperationsNotDeletable,
 ] interface Notification {
     void show();
 #if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS