Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1077)

Unified Diff: lib/html/templates/html/impl/impl_SVGSVGElement.darttemplate

Issue 11365019: Merging dart:html interfaces and implementations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding generated files. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}

Powered by Google App Engine
This is Rietveld 408576698