Index: Source/modules/notifications/NotificationCenter.h |
diff --git a/Source/modules/notifications/NotificationCenter.h b/Source/modules/notifications/NotificationCenter.h |
index 11694dd9234c8277866285b35544855e561658fc..7b081b04021e03988adfa559e7ec4bb0060bf33d 100644 |
--- a/Source/modules/notifications/NotificationCenter.h |
+++ b/Source/modules/notifications/NotificationCenter.h |
@@ -32,6 +32,8 @@ |
#ifndef NotificationCenter_h |
#define NotificationCenter_h |
+#if ENABLE(LEGACY_NOTIFICATIONS) |
+ |
#include "bindings/v8/ExceptionState.h" |
#include "bindings/v8/ScriptWrappable.h" |
#include "core/dom/ExceptionCode.h" |
@@ -98,4 +100,6 @@ private: |
} // namespace WebCore |
+#endif // ENABLE(LEGACY_NOTIFICATIONS) |
+ |
#endif // NotificationCenter_h |