Index: sdk/lib/html/templates/html/impl/impl_SVGSVGElement.darttemplate |
diff --git a/sdk/lib/html/templates/html/dart2js/impl_CanvasElement.darttemplate b/sdk/lib/html/templates/html/impl/impl_SVGSVGElement.darttemplate |
similarity index 78% |
copy from sdk/lib/html/templates/html/dart2js/impl_CanvasElement.darttemplate |
copy to sdk/lib/html/templates/html/impl/impl_SVGSVGElement.darttemplate |
index 1c790c0afe67b39f424f3d8f972bc8965ef0bedd..c9a30bae26ff08d789f342d8a149b6f3256d4eeb 100644 |
--- a/sdk/lib/html/templates/html/dart2js/impl_CanvasElement.darttemplate |
+++ b/sdk/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(); |
- _CanvasRenderingContext2DImpl get context2d => getContext('2d'); |
+$!MEMBERS |
} |