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

Unified Diff: client/dom/generated/src/frog/CSSStyleSheet.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/CSSStyleSheet.dart
diff --git a/client/dom/generated/src/frog/CSSStyleSheet.dart b/client/dom/generated/src/frog/CSSStyleSheet.dart
index 528b3b11699b94331cdd2311900e1c1e791e6df7..b2c890a7152f7181275274f13d50e08e0afa557c 100644
--- a/client/dom/generated/src/frog/CSSStyleSheet.dart
+++ b/client/dom/generated/src/frog/CSSStyleSheet.dart
@@ -1,11 +1,11 @@
class _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*CSSStyleSheet" {
- _CSSRuleListJs get cssRules() native "return this.cssRules;";
+ final _CSSRuleListJs cssRules;
- _CSSRuleJs get ownerRule() native "return this.ownerRule;";
+ final _CSSRuleJs ownerRule;
- _CSSRuleListJs get rules() native "return this.rules;";
+ final _CSSRuleListJs rules;
int addRule(String selector, String style, [int index = null]) native;

Powered by Google App Engine
This is Rietveld 408576698