Index: tools/dom/templates/html/impl/impl_HTMLOptionElement.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_HTMLOptionElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLOptionElement.darttemplate |
index b40c7beca799b3844f5f81b7ab8fc3fbaedda85b..24e2985bff91449f308764663a22d5dc58e1cec5 100644 |
--- a/tools/dom/templates/html/impl/impl_HTMLOptionElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_HTMLOptionElement.darttemplate |
@@ -5,9 +5,8 @@ |
part of $LIBRARYNAME; |
$(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
- factory OptionElement({String data, String value, bool defaultSelected, |
- bool selected}) { |
- return new OptionElement._(data, value, defaultSelected, selected); |
+ factory OptionElement({String data, String value, bool selected: false}) { |
+ return new OptionElement._(data, value, false, selected); |
} |
$!MEMBERS |
} |