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

Unified Diff: client/dom/generated/src/frog/MemoryInfo.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/MemoryInfo.dart
diff --git a/client/dom/generated/src/frog/MemoryInfo.dart b/client/dom/generated/src/frog/MemoryInfo.dart
index 718baafc38a7dd3f0197f5a39404145a84ea29d7..315f4c22aa4c4012c9ddef6a8e3ebf01f3bc2586 100644
--- a/client/dom/generated/src/frog/MemoryInfo.dart
+++ b/client/dom/generated/src/frog/MemoryInfo.dart
@@ -1,9 +1,9 @@
class _MemoryInfoJs extends _DOMTypeJs implements MemoryInfo native "*MemoryInfo" {
- int get jsHeapSizeLimit() native "return this.jsHeapSizeLimit;";
+ final int jsHeapSizeLimit;
- int get totalJSHeapSize() native "return this.totalJSHeapSize;";
+ final int totalJSHeapSize;
- int get usedJSHeapSize() native "return this.usedJSHeapSize;";
+ final int usedJSHeapSize;
}

Powered by Google App Engine
This is Rietveld 408576698