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

Unified Diff: lib/html/templates/html/interface/interface_CSSStyleDeclaration.darttemplate

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Further fixes to dartium. Created 8 years, 3 months 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/interface/interface_CSSStyleDeclaration.darttemplate
diff --git a/lib/html/templates/html/interface/interface_CSSStyleDeclaration.darttemplate b/lib/html/templates/html/interface/interface_CSSStyleDeclaration.darttemplate
index 590093f4a8fcb2830f2c3bca377388c2476476c0..ed2420e9506f52fa27f99f6bb39a13c70a50ca72 100644
--- a/lib/html/templates/html/interface/interface_CSSStyleDeclaration.darttemplate
+++ b/lib/html/templates/html/interface/interface_CSSStyleDeclaration.darttemplate
@@ -5,9 +5,9 @@
// WARNING: Do not edit - generated code.
$!COMMENT
-interface $ID$EXTENDS default _$(ID)FactoryProvider {
- $ID();
- $ID.css(String css);
+abstract class $ID$EXTENDS {
+ factory $ID() => _$(ID)FactoryProvider.create$ID();
+ factory $ID.css(String css) => _$(ID)FactoryProvider.create$(ID)_css(css);
$!MEMBERS

Powered by Google App Engine
This is Rietveld 408576698