Index: Source/modules/notifications/NotificationCenter.cpp |
diff --git a/Source/modules/notifications/NotificationCenter.cpp b/Source/modules/notifications/NotificationCenter.cpp |
index 56a68c2fc54593049ed56da95f9822cf0b7a73ac..410d7c56860ddec519363e851784c029535baebf 100644 |
--- a/Source/modules/notifications/NotificationCenter.cpp |
+++ b/Source/modules/notifications/NotificationCenter.cpp |
@@ -31,6 +31,8 @@ |
#include "config.h" |
+#if ENABLE(LEGACY_NOTIFICATIONS) |
+ |
#include "modules/notifications/NotificationCenter.h" |
#include "core/dom/Document.h" |
@@ -134,3 +136,5 @@ void NotificationCenter::NotificationRequestCallback::timerFired(Timer<Notificat |
} |
} // namespace WebCore |
+ |
+#endif // ENABLE(LEGACY_NOTIFICATIONS) |