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

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: Rebasing. 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
« no previous file with comments | « Source/WebKit/chromium/src/WebKit.cpp ('k') | Source/bindings/scripts/CodeGeneratorV8.pm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index d229d371990e89fd2fd960a3fd7757c7839f3bb8..8c6f07a9061edac61c931f414b6c935ffc5d531b 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -359,20 +359,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
}
« no previous file with comments | « Source/WebKit/chromium/src/WebKit.cpp ('k') | Source/bindings/scripts/CodeGeneratorV8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698