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

Unified Diff: tests/html/custom_elements_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_elements_test.dart
diff --git a/tests/html/custom_elements_test.dart b/tests/html/custom_elements_test.dart
index 718898ca7b9bd84575b54c63b6f1b629f1fc6d23..9d6b56046dd4c90606d479341dc76e93a9a609fd 100644
--- a/tests/html/custom_elements_test.dart
+++ b/tests/html/custom_elements_test.dart
@@ -18,11 +18,10 @@ class CustomMixin {
}
class CustomType extends HtmlElement with CustomMixin{
- factory CustomType() => null;
- CustomType.created(): super.created();
+ bool createdCalled = false;
- bool createdCalled; // = false;
- void createdCallback() {
+ factory CustomType() => null;
+ CustomType.created(): super.created() {
createdCalled = true;
customCreatedCount++;
}
« no previous file with comments | « tests/html/custom/entered_left_view_test.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698