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

Unified Diff: sdk/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: Fixing merged classes in dartium not compiling under dartc. 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: 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
}

Powered by Google App Engine
This is Rietveld 408576698