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

Unified Diff: client/dom/generated/src/frog/Attr.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/Attr.dart
diff --git a/client/dom/generated/src/frog/Attr.dart b/client/dom/generated/src/frog/Attr.dart
index b1ab8d1c9b2eba3030b98c0b80880b565513a5f0..4491ed2e1f1472a6f06cd9fb6ff1e04037abbcbe 100644
--- a/client/dom/generated/src/frog/Attr.dart
+++ b/client/dom/generated/src/frog/Attr.dart
@@ -1,15 +1,13 @@
class _AttrJs extends _NodeJs implements Attr native "*Attr" {
- bool get isId() native "return this.isId;";
+ final bool isId;
- String get name() native "return this.name;";
+ final String name;
- _ElementJs get ownerElement() native "return this.ownerElement;";
+ final _ElementJs ownerElement;
- bool get specified() native "return this.specified;";
+ final bool specified;
- String get value() native "return this.value;";
-
- void set value(String value) native "this.value = value;";
+ String value;
}

Powered by Google App Engine
This is Rietveld 408576698