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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 27516011: Remove defaultSelected property. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 501ebd86cb5d9fdbabb90f392187bd119956b34a..dfa615ef82833c5a5782baae113aca891e90ad32 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -19117,9 +19117,8 @@ class OptGroupElement extends HtmlElement native "HTMLOptGroupElement" {
@DomName('HTMLOptionElement')
class OptionElement extends HtmlElement native "HTMLOptionElement" {
- 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);
}
@DomName('HTMLOptionElement.HTMLOptionElement')
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698