Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index 944d6e6dc1088a34428e465730c71cb21b44465b..a5c54438f94e7c2f5dcf91bb9d0c25675f56097b 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -34418,10 +34418,8 @@ void _registerCustomElement(context, document, String tag, Type type, |
var options = JS('=Object', '{prototype: #}', proto); |
- if (baseClassName != 'HTMLElement') { |
- if (extendsTagName != null) { |
- JS('=Object', '#.extends = #', options, extendsTagName); |
- } |
+ if (extendsTagName != null) { |
+ JS('=Object', '#.extends = #', options, extendsTagName); |
} |
JS('void', '#.register(#, #)', document, tag, options); |