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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 14314023: fix dom.py (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index ae1f7f194219e711074c6b5455633ce32c4ddf84..f741232970a66fc10f1f81b9ebe5d4933e6671b1 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -8479,7 +8479,7 @@ class _ChildrenElementList extends ListBase<Element> {
// a better option given that we cannot quite force NodeList to be an
// ElementList as there are valid cases where a NodeList JavaScript object
// contains Node objects that are not Elements.
-class _FrozenElementList extends ListBase<Element> {
+class _FrozenElementList<T extends Element> extends ListBase<T> {
final List<Node> _nodeList;
_FrozenElementList._wrap(this._nodeList);
@@ -19914,14 +19914,14 @@ class SelectElement extends _Element_Merged {
// does not operate as a List.
List<OptionElement> get options {
var options = this.children.where((e) => e is OptionElement).toList();
- return new UnmodifiableListView<OptionElement>(options);
+ return new UnmodifiableListView(options);
}
List<OptionElement> get selectedOptions {
// IE does not change the selected flag for single-selection items.
if (this.multiple) {
var options = this.options.where((o) => o.selected).toList();
- return new UnmodifiableListView<OptionElement>(options);
+ return new UnmodifiableListView(options);
} else {
return [this.options[this.selectedIndex]];
}

Powered by Google App Engine
This is Rietveld 408576698