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

Unified Diff: samples/swarm/swarm_ui_lib/view/CompositeView.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/util/Uri.dart ('k') | samples/swarm/swarm_ui_lib/view/MeasureText.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/CompositeView.dart
diff --git a/samples/swarm/swarm_ui_lib/view/CompositeView.dart b/samples/swarm/swarm_ui_lib/view/CompositeView.dart
index 08a17b1b34121d9914dea3ee134ca61b27628cb5..1ab56af03b121975867ee270bf1df6e64973c60d 100644
--- a/samples/swarm/swarm_ui_lib/view/CompositeView.dart
+++ b/samples/swarm/swarm_ui_lib/view/CompositeView.dart
@@ -62,7 +62,7 @@ class CompositeView extends View {
}
void afterRender(Element node) {
- if (_scrollbar !== null) {
+ if (_scrollbar != null) {
_scrollbar.initialize();
}
}
@@ -70,7 +70,7 @@ class CompositeView extends View {
View addChild(View view) {
childViews.add(view);
// TODO(rnystrom): Container shouldn't be null. Remove this check.
- if (container !== null) {
+ if (container != null) {
container.nodes.add(view.node);
}
childViewAdded(view);
@@ -80,7 +80,7 @@ class CompositeView extends View {
void removeChild(View view) {
childViews = childViews.filter(bool _(e) { return view != e; });
// TODO(rnystrom): Container shouldn't be null. Remove this check.
- if (container !== null) {
+ if (container != null) {
view.node.remove();
}
}
« no previous file with comments | « samples/swarm/swarm_ui_lib/util/Uri.dart ('k') | samples/swarm/swarm_ui_lib/view/MeasureText.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698