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

Unified Diff: client/dom/generated/src/frog/TextMetrics.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/TextMetrics.dart
diff --git a/client/dom/generated/src/frog/TextMetrics.dart b/client/dom/generated/src/frog/TextMetrics.dart
index f7a62398f261f7128d9aae952bf173fbd78a2809..f2f1d442ac5be544512f7bcca331d8dda78a27a3 100644
--- a/client/dom/generated/src/frog/TextMetrics.dart
+++ b/client/dom/generated/src/frog/TextMetrics.dart
@@ -1,5 +1,5 @@
class _TextMetricsJs extends _DOMTypeJs implements TextMetrics native "*TextMetrics" {
- num get width() native "return this.width;";
+ final num width;
}

Powered by Google App Engine
This is Rietveld 408576698