Index: lib/html/templates/html/impl/impl_SVGSVGElement.darttemplate |
diff --git a/lib/html/templates/html/impl/impl_CanvasElement.darttemplate b/lib/html/templates/html/impl/impl_SVGSVGElement.darttemplate |
similarity index 78% |
copy from lib/html/templates/html/impl/impl_CanvasElement.darttemplate |
copy to lib/html/templates/html/impl/impl_SVGSVGElement.darttemplate |
index 7d9d2bf641df249a2bae9fbae72e51bd3f115399..c9a30bae26ff08d789f342d8a149b6f3256d4eeb 100644 |
--- a/lib/html/templates/html/impl/impl_CanvasElement.darttemplate |
+++ b/lib/html/templates/html/impl/impl_SVGSVGElement.darttemplate |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
-$!MEMBERS |
+ factory $CLASSNAME() => _$(CLASSNAME)FactoryProvider.createSVGSVGElement(); |
- CanvasRenderingContext2D get context2d => getContext('2d'); |
+$!MEMBERS |
} |