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

Unified Diff: client/dom/generated/src/frog/ElementTraversal.dart

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native Created 8 years, 11 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: client/dom/generated/src/frog/ElementTraversal.dart
diff --git a/client/dom/generated/src/frog/ElementTraversal.dart b/client/dom/generated/src/frog/ElementTraversal.dart
index d930fcca5dd17b73644829635e20f05d75b931d3..393e51527bc6ba6a66110a799ad1ac35f7a55cbe 100644
--- a/client/dom/generated/src/frog/ElementTraversal.dart
+++ b/client/dom/generated/src/frog/ElementTraversal.dart
@@ -1,13 +1,13 @@
class _ElementTraversalJs extends _DOMTypeJs implements ElementTraversal native "*ElementTraversal" {
- int get childElementCount() native "return this.childElementCount;";
+ final int childElementCount;
- _ElementJs get firstElementChild() native "return this.firstElementChild;";
+ final _ElementJs firstElementChild;
- _ElementJs get lastElementChild() native "return this.lastElementChild;";
+ final _ElementJs lastElementChild;
- _ElementJs get nextElementSibling() native "return this.nextElementSibling;";
+ final _ElementJs nextElementSibling;
- _ElementJs get previousElementSibling() native "return this.previousElementSibling;";
+ final _ElementJs previousElementSibling;
}

Powered by Google App Engine
This is Rietveld 408576698