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

Unified Diff: lib/dom/templates/dom/native/dart_implementation.darttemplate

Issue 10443032: Generate default constructors instead of factories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/dom/templates/dom/native/dart_implementation.darttemplate
diff --git a/lib/dom/templates/dom/native/dart_implementation.darttemplate b/lib/dom/templates/dom/native/dart_implementation.darttemplate
index b4f540b5190b8551a9f33bda67192743d3731f3b..1c24cc716d8b00f9fa974f6f9da065ca4efb4130 100644
--- a/lib/dom/templates/dom/native/dart_implementation.darttemplate
+++ b/lib/dom/templates/dom/native/dart_implementation.darttemplate
@@ -8,8 +8,7 @@ interface _$INTERFACE {
}
class $CLASS extends $BASE implements _$INTERFACE {
- static $CLASS _create$CLASS() => new $CLASS._create$CLASS();
- $CLASS._create$CLASS();
+ $CLASS() {}
String get typeName() => "$INTERFACE";
$MEMBERS
}
« lib/dom/src/native_DOMImplementation.dart ('K') | « lib/dom/src/native_DOMImplementation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698