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

Unified Diff: client/dom/generated/src/frog/SVGElementInstance.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/SVGElementInstance.dart
diff --git a/client/dom/generated/src/frog/SVGElementInstance.dart b/client/dom/generated/src/frog/SVGElementInstance.dart
index bc0e5d7e1149a74348a083b9022b2ddd20d2cc99..d9d2d051ccb3b68b676bd7c8802a7e29c3bffdf3 100644
--- a/client/dom/generated/src/frog/SVGElementInstance.dart
+++ b/client/dom/generated/src/frog/SVGElementInstance.dart
@@ -1,21 +1,21 @@
class _SVGElementInstanceJs extends _DOMTypeJs implements SVGElementInstance native "*SVGElementInstance" {
- _SVGElementInstanceListJs get childNodes() native "return this.childNodes;";
+ final _SVGElementInstanceListJs childNodes;
- _SVGElementJs get correspondingElement() native "return this.correspondingElement;";
+ final _SVGElementJs correspondingElement;
- _SVGUseElementJs get correspondingUseElement() native "return this.correspondingUseElement;";
+ final _SVGUseElementJs correspondingUseElement;
- _SVGElementInstanceJs get firstChild() native "return this.firstChild;";
+ final _SVGElementInstanceJs firstChild;
- _SVGElementInstanceJs get lastChild() native "return this.lastChild;";
+ final _SVGElementInstanceJs lastChild;
- _SVGElementInstanceJs get nextSibling() native "return this.nextSibling;";
+ final _SVGElementInstanceJs nextSibling;
- _SVGElementInstanceJs get parentNode() native "return this.parentNode;";
+ final _SVGElementInstanceJs parentNode;
- _SVGElementInstanceJs get previousSibling() native "return this.previousSibling;";
+ final _SVGElementInstanceJs previousSibling;
void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;

Powered by Google App Engine
This is Rietveld 408576698