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

Unified Diff: sdk/lib/html/html_common/filtered_element_list.dart

Issue 2754013002: Format all dart: library files (Closed)
Patch Set: Format all dart: library files Created 3 years, 9 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 | « sdk/lib/html/html_common/device.dart ('k') | sdk/lib/html/html_common/html_common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/html_common/filtered_element_list.dart
diff --git a/sdk/lib/html/html_common/filtered_element_list.dart b/sdk/lib/html/html_common/filtered_element_list.dart
index d4d40ae3cfc983a59fb7c715156a9cbd57dec627..f70d82027c59ccb26085d0370d5311e6bdbd5355 100644
--- a/sdk/lib/html/html_common/filtered_element_list.dart
+++ b/sdk/lib/html/html_common/filtered_element_list.dart
@@ -26,8 +26,9 @@ class FilteredElementList extends ListBase<Element> implements NodeListWrapper {
// We can't memoize this, since it's possible that children will be messed
// with externally to this class.
- Iterable<Element> get _iterable =>
- _childNodes.where((n) => n is Element).map/*<Element>*/((n) => n as Element);
+ Iterable<Element> get _iterable => _childNodes
+ .where((n) => n is Element)
+ .map/*<Element>*/((n) => n as Element);
List<Element> get _filtered =>
new List<Element>.from(_iterable, growable: false);
« no previous file with comments | « sdk/lib/html/html_common/device.dart ('k') | sdk/lib/html/html_common/html_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698