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

Unified Diff: lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 years, 3 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:
View side-by-side diff with in-line comments
Download patch
Index: lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate
diff --git a/lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate b/lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate
index e56d2b6474f7fc34c216ad7735b11f9fd1798444..0c8ce95508c3a45de79a6eb2730daa44ddf3076d 100644
--- a/lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate
+++ b/lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate
@@ -3,8 +3,8 @@
// BSD-style license that can be found in the LICENSE file.
class $FACTORYPROVIDER {
- factory OptionElement([String data = null, String value = null,
- bool defaultSelected = null, bool selected = null])
+ static OptionElement createOptionElement(
+ [String data, String value, bool defaultSelected, bool selected])
native '''
if (data == null) return new Option();
if (value == null) return new Option(data);

Powered by Google App Engine
This is Rietveld 408576698