Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Unified Diff: Source/core/dom/ContextFeatures.cpp

Issue 14467003: Remove ENABLE_DIALOG_ELEMENT (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698