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

Unified Diff: samples/swarm/swarm_ui_lib/view/CompositeView.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: 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 83b676a37bc45ae3409eb85849a73166fb337b18..016c61d443853f0df9b90cf55c849b8de3ad3e8b 100644
--- a/samples/swarm/swarm_ui_lib/view/CompositeView.dart
+++ b/samples/swarm/swarm_ui_lib/view/CompositeView.dart
@@ -80,7 +80,7 @@ class CompositeView extends View {
}
void removeChild(View view) {
- childViews = childViews.filter((e) { return view != e; });
+ childViews = childViews.where((e) { return view != e; }).toList();
// TODO(rnystrom): Container shouldn't be null. Remove this check.
if (container != null) {
view.node.remove();
« no previous file with comments | « samples/swarm/swarm_ui_lib/util/CollectionUtils.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