| Index: tools/dom/templates/html/impl/impl_Element.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| index 8ebf3b16f52544d3cb36c85ac70652fa507bae6b..5732c1ebd5469464a8cdc917a75156394a97d705 100644
|
| --- a/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| @@ -500,7 +500,6 @@ $(ANNOTATIONS)abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| /// This is identical to calling `new Element.tag('video')`.
|
| factory Element.video() => new Element.tag('video');
|
|
|
| - Map<String, String> _cachedAttributeMap;
|
| /**
|
| * All attributes on this element.
|
| *
|
| @@ -511,12 +510,7 @@ $(ANNOTATIONS)abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| * (such as 'xlink:href'), additional attributes can be accessed via
|
| * [getNamespacedAttributes].
|
| */
|
| - Map<String, String> get attributes {
|
| - if (_cachedAttributeMap == null) {
|
| - _cachedAttributeMap = new _ElementAttributeMap(this);
|
| - }
|
| - return _cachedAttributeMap;
|
| - }
|
| + Map<String, String> get attributes => new _ElementAttributeMap(this);
|
|
|
| void set attributes(Map<String, String> value) {
|
| Map<String, String> attributes = this.attributes;
|
|
|