Index: sdk/lib/html/html_common/filtered_element_list.dart |
diff --git a/sdk/lib/html/src/FilteredElementList.dart b/sdk/lib/html/html_common/filtered_element_list.dart |
similarity index 98% |
rename from sdk/lib/html/src/FilteredElementList.dart |
rename to sdk/lib/html/html_common/filtered_element_list.dart |
index b946588fbedd4287f1242a5f5ba0bcda25c1fbfd..b12ffdb066f5e6bd5d2d2e5144656c4761811b4d 100644 |
--- a/sdk/lib/html/src/FilteredElementList.dart |
+++ b/sdk/lib/html/html_common/filtered_element_list.dart |
@@ -2,7 +2,7 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-part of html; |
+part of html_common; |
class FilteredElementList implements List { |
final Node _node; |
@@ -33,7 +33,7 @@ class FilteredElementList implements List { |
throw new ArgumentError("Invalid list length"); |
} |
- removeRange(newLength - 1, len - newLength); |
+ removeRange(newLength, len - newLength); |
} |
void add(Element value) { |