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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2522793002: Remove ShadowDOMV1 runtime flag (status=stable) (Closed)
Patch Set: rebased Created 4 years, 1 month 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: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index b7cc35fd88b08689c815799321c8a9e47c565e40..bfaa2f8bb88134a6766ff2b6fdf50b6ff9cea07d 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -2162,8 +2162,6 @@ ShadowRoot* Element::createShadowRoot(const ScriptState* scriptState,
ShadowRoot* Element::attachShadow(const ScriptState* scriptState,
const ShadowRootInit& shadowRootInitDict,
ExceptionState& exceptionState) {
- DCHECK(RuntimeEnabledFeatures::shadowDOMV1Enabled());
-
HostsUsingFeatures::countMainWorldOnly(
scriptState, document(),
HostsUsingFeatures::Feature::ElementAttachShadow);
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | third_party/WebKit/Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698