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

Unified Diff: samples/swarm/swarm_ui_lib/view/view.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
« no previous file with comments | « samples/swarm/swarm_ui_lib/view/MeasureText.dart ('k') | samples/third_party/dromaeo/Suites.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/swarm/swarm_ui_lib/view/view.dart
diff --git a/samples/swarm/swarm_ui_lib/view/view.dart b/samples/swarm/swarm_ui_lib/view/view.dart
index a5996998c9073074135f3c33c733b2af900a488f..31d0a99f0cdb45c81c3cf0e493f96f1234701e62 100644
--- a/samples/swarm/swarm_ui_lib/view/view.dart
+++ b/samples/swarm/swarm_ui_lib/view/view.dart
@@ -56,7 +56,7 @@ class View implements Positionable {
// it.
Element get node {
// Lazy render.
- if (_node === null) {
+ if (_node == null) {
_render();
}
@@ -102,7 +102,7 @@ class View implements Positionable {
/** Gets whether this View has already been rendered or not. */
bool get isRendered {
- return _node !== null;
+ return _node != null;
}
/**
@@ -110,7 +110,7 @@ class View implements Positionable {
* document or not.
*/
bool get isInDocument {
- return _node !== null && node.document.body.contains(node);
+ return _node != null && node.document.body.contains(node);
}
/**
« no previous file with comments | « samples/swarm/swarm_ui_lib/view/MeasureText.dart ('k') | samples/third_party/dromaeo/Suites.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698