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

Unified Diff: samples/swarm/swarm_ui_lib/base/Size.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month 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: samples/swarm/swarm_ui_lib/base/Size.dart
diff --git a/samples/swarm/swarm_ui_lib/base/Size.dart b/samples/swarm/swarm_ui_lib/base/Size.dart
index 335f7e3e5b60666702b5fa4a1e8ddf78b0d625fc..d14c20ed9ff73093f54747dbbe602bbf5904d987 100644
--- a/samples/swarm/swarm_ui_lib/base/Size.dart
+++ b/samples/swarm/swarm_ui_lib/base/Size.dart
@@ -13,7 +13,7 @@ class Size {
}
bool operator ==(Size other) {
- return other !== null && width == other.width && height == other.height;
+ return other != null && width == other.width && height == other.height;
}
/**
« no previous file with comments | « samples/swarm/swarm_ui_lib/base/AnimationScheduler.dart ('k') | samples/swarm/swarm_ui_lib/observable/observable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698