| Index: Source/core/dom/ContextFeatures.cpp
|
| diff --git a/Source/core/dom/ContextFeatures.cpp b/Source/core/dom/ContextFeatures.cpp
|
| index 622b6415e8855daceb2380ca278e882c6865fdaa..6320b375ae0433f76b26282b02ba539abee1cede 100644
|
| --- a/Source/core/dom/ContextFeatures.cpp
|
| +++ b/Source/core/dom/ContextFeatures.cpp
|
| @@ -52,14 +52,9 @@ ContextFeatures* ContextFeatures::defaultSwitch()
|
|
|
| bool ContextFeatures::dialogElementEnabled(Document* document)
|
| {
|
| -#if ENABLE(DIALOG_ELEMENT)
|
| if (!document)
|
| return RuntimeEnabledFeatures::dialogElementEnabled();
|
| return document->contextFeatures()->isEnabled(document, DialogElement, RuntimeEnabledFeatures::dialogElementEnabled());
|
| -#else
|
| - UNUSED_PARAM(document);
|
| - return false;
|
| -#endif
|
| }
|
|
|
| bool ContextFeatures::styleScopedEnabled(Document* document)
|
|
|