| Index: tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate
|
| index 25510dc856a4f805c76d94ec20583e40ae5b10f6..396ffcda5fbe92e092ab6e8f983e099854d05fd1 100644
|
| --- a/tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_HTMLSelectElement.darttemplate
|
| @@ -10,8 +10,7 @@ $!MEMBERS
|
| // Override default options, since IE returns SelectElement itself and it
|
| // does not operate as a List.
|
| List<OptionElement> get options {
|
| - var options = this.querySelectorAll('option').where(
|
| - (e) => e is OptionElement).toList();
|
| + var options = new List<OptionElement>.from(this.querySelectorAll('option'));
|
| return new UnmodifiableListView(options);
|
| }
|
|
|
|
|