summaryrefslogtreecommitdiff
path: root/Source/WebKit/mac/WebView/WebNotification.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/mac/WebView/WebNotification.mm')
-rw-r--r--Source/WebKit/mac/WebView/WebNotification.mm10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WebKit/mac/WebView/WebNotification.mm b/Source/WebKit/mac/WebView/WebNotification.mm
index bbd0248f6..557332cba 100644
--- a/Source/WebKit/mac/WebView/WebNotification.mm
+++ b/Source/WebKit/mac/WebView/WebNotification.mm
@@ -101,6 +101,16 @@ Notification* core(WebNotification *notification)
#endif
}
+- (NSString *)replaceID
+{
+#if ENABLE(NOTIFICATIONS)
+ ASSERT(core(self));
+ return core(self)->replaceId();
+#else
+ return nil;
+#endif
+}
+
- (WebSecurityOrigin *)origin
{
#if ENABLE(NOTIFICATIONS)