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

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

Issue 11471004: Hiding FilteredElementList class and fixing FilteredElementList.length. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Really reverting. Created 8 years 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/dartium/html_dartium.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/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) {
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.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