Index: Source/core/dom/ContextFeatures.cpp |
diff --git a/Source/core/dom/ContextFeatures.cpp b/Source/core/dom/ContextFeatures.cpp |
index ec125c9941eb09b0a2729f9b613ab1a60cd8c02b..fa374bd53e59bc161380a7d1b98bd822bd345cc6 100644 |
--- a/Source/core/dom/ContextFeatures.cpp |
+++ b/Source/core/dom/ContextFeatures.cpp |
@@ -66,14 +66,9 @@ bool ContextFeatures::styleScopedEnabled(Document* document) |
bool ContextFeatures::pagePopupEnabled(Document* document) |
{ |
-#if ENABLE(PAGE_POPUP) |
if (!document) |
return false; |
return document->contextFeatures()->isEnabled(document, PagePopup, false); |
-#else |
- UNUSED_PARAM(document); |
- return false; |
-#endif |
} |
bool ContextFeatures::htmlNotificationsEnabled(Document* document) |