Index: tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate b/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate |
index e08cb4de435197ce97929f92bd170b83329b5078..0cad5f56e54e3ee0814ed347defa337e8a1daada 100644 |
--- a/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate |
@@ -8,13 +8,9 @@ part of $LIBRARYNAME; |
$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { |
$!MEMBERS |
-$if DART2JS |
static bool get supported => |
JS('bool', '!!(Element.prototype.createShadowRoot||' |
'Element.prototype.webkitCreateShadowRoot)'); |
-$else |
- static final bool supported = true; |
-$endif |
static bool _shadowRootDeprecationReported = false; |
static void _shadowRootDeprecationReport() { |