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

Unified Diff: samples/ui_lib/base/Size.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 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
« no previous file with comments | « samples/ui_lib/base/AnimationScheduler.dart ('k') | samples/ui_lib/observable/ChangeEvent.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/base/Size.dart
diff --git a/samples/ui_lib/base/Size.dart b/samples/ui_lib/base/Size.dart
index 7ed0bf0b4ba406e451bd883b975e6209da6e3cfb..335f7e3e5b60666702b5fa4a1e8ddf78b0d625fc 100644
--- a/samples/ui_lib/base/Size.dart
+++ b/samples/ui_lib/base/Size.dart
@@ -83,7 +83,7 @@ class Size {
* Returns true if the size has zero area, false if both dimensions
* are non-zero numbers.
*/
- bool isEmpty() {
+ bool get isEmpty {
return area() == 0;
}
« no previous file with comments | « samples/ui_lib/base/AnimationScheduler.dart ('k') | samples/ui_lib/observable/ChangeEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698