Index: sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate b/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate |
index 64eeccc58bf220f8c979c61f40f9bf281468f791..10fe7ccb55c7457807b4e58d9c2d823ef51ebc91 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_SVGElement.darttemplate |
@@ -13,7 +13,12 @@ class _AttributeClassSet extends _CssClassSet { |
} |
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
- CSSClassSet get classes { |
+ factory $CLASSNAME.tag(String tag) => |
+ _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_tag(tag); |
+ factory $CLASSNAME.svg(String svg) => |
+ _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_svg(svg); |
+ |
+ CssClassSet get classes { |
if (_cssClassSet == null) { |
_cssClassSet = new _AttributeClassSet(_ptr); |
} |