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

Unified Diff: client/dom/generated/src/frog/HTMLSourceElement.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/HTMLSourceElement.dart
diff --git a/client/dom/generated/src/frog/HTMLSourceElement.dart b/client/dom/generated/src/frog/HTMLSourceElement.dart
index 90e8555790a3cba11caf7aa61d176bfc2b2ab216..874e26e2330034f6d7643634156be8ed4bb8f5fe 100644
--- a/client/dom/generated/src/frog/HTMLSourceElement.dart
+++ b/client/dom/generated/src/frog/HTMLSourceElement.dart
@@ -1,15 +1,9 @@
class _HTMLSourceElementJs extends _HTMLElementJs implements HTMLSourceElement native "*HTMLSourceElement" {
- String get media() native "return this.media;";
+ String media;
- void set media(String value) native "this.media = value;";
+ String src;
- String get src() native "return this.src;";
-
- void set src(String value) native "this.src = value;";
-
- String get type() native "return this.type;";
-
- void set type(String value) native "this.type = value;";
+ String type;
}

Powered by Google App Engine
This is Rietveld 408576698