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

Unified Diff: tests/html/custom/constructor_calls_created_synchronously_test.dart

Issue 26592009: Removing Element.createdCallback (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: tests/html/custom/constructor_calls_created_synchronously_test.dart
diff --git a/tests/html/custom/constructor_calls_created_synchronously_test.dart b/tests/html/custom/constructor_calls_created_synchronously_test.dart
index 932f760072672b3fa415342c41cac7e399a07c1f..f9f242d8a7dd7b43f671ba7c646391c4aaabfc9f 100644
--- a/tests/html/custom/constructor_calls_created_synchronously_test.dart
+++ b/tests/html/custom/constructor_calls_created_synchronously_test.dart
@@ -12,13 +12,11 @@ import 'dart:mirrors';
class A extends HtmlElement {
static final tag = 'x-a';
factory A() => new Element.tag(tag);
- A.created() : super.created();
-
- static int ncallbacks = 0;
-
- void createdCallback() {
+ A.created() : super.created() {
ncallbacks++;
}
+
+ static int ncallbacks = 0;
}
main() {
« no previous file with comments | « tests/html/custom/attribute_changed_callback_test.dart ('k') | tests/html/custom/created_callback_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698