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

Unified Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

Issue 14083009: Remove ENABLE_CUSTOM_ELEMENTS compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing flag from features.gypi 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/WebKit/chromium/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index 684ffb44be0eedb30ea410e7950f7b7c6e6b3ee5..432aa85150d1d7597f181fa31553caa64f3c972f 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -407,20 +407,12 @@ bool WebRuntimeFeatures::isExperimentalShadowDOMEnabled()
void WebRuntimeFeatures::enableCustomDOMElements(bool enable)
{
-#if ENABLE(CUSTOM_ELEMENTS)
RuntimeEnabledFeatures::setCustomDOMElements(enable);
-#else
- UNUSED_PARAM(enable);
-#endif
}
bool WebRuntimeFeatures::isCustomDOMElementsEnabled()
{
-#if ENABLE(CUSTOM_ELEMENTS)
return RuntimeEnabledFeatures::customDOMElementsEnabled();
-#else
- return false;
-#endif
}

Powered by Google App Engine
This is Rietveld 408576698