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

Unified Diff: client/dom/generated/src/frog/ImageData.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/ImageData.dart
diff --git a/client/dom/generated/src/frog/ImageData.dart b/client/dom/generated/src/frog/ImageData.dart
index b8cfdc42b70022cdb8e1e88143891efd99801d58..720b2e8f798ce063cf311ad565fbe759f0ac6373 100644
--- a/client/dom/generated/src/frog/ImageData.dart
+++ b/client/dom/generated/src/frog/ImageData.dart
@@ -1,9 +1,9 @@
class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" {
- _CanvasPixelArrayJs get data() native "return this.data;";
+ final _CanvasPixelArrayJs data;
- int get height() native "return this.height;";
+ final int height;
- int get width() native "return this.width;";
+ final int width;
}

Powered by Google App Engine
This is Rietveld 408576698