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

Unified Diff: client/dom/generated/src/frog/CSSRule.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/CSSRule.dart
diff --git a/client/dom/generated/src/frog/CSSRule.dart b/client/dom/generated/src/frog/CSSRule.dart
index e1c22a992a21cf035283998de2eb57a2980de0a6..2be2fe5092e06165b5d5b5a6608c4b19510ba246 100644
--- a/client/dom/generated/src/frog/CSSRule.dart
+++ b/client/dom/generated/src/frog/CSSRule.dart
@@ -21,13 +21,11 @@ class _CSSRuleJs extends _DOMTypeJs implements CSSRule native "*CSSRule" {
static final int WEBKIT_REGION_RULE = 10;
- String get cssText() native "return this.cssText;";
+ String cssText;
- void set cssText(String value) native "this.cssText = value;";
+ final _CSSRuleJs parentRule;
- _CSSRuleJs get parentRule() native "return this.parentRule;";
+ final _CSSStyleSheetJs parentStyleSheet;
- _CSSStyleSheetJs get parentStyleSheet() native "return this.parentStyleSheet;";
-
- int get type() native "return this.type;";
+ final int type;
}

Powered by Google App Engine
This is Rietveld 408576698