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

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 443883002: Change void typed setters in html_dart2js not to return a value. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change templates and regenerate files. Created 6 years, 4 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
« no previous file with comments | « tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Element.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
index f1cf5073d2e10778aaaf8b1fa0170477e0f2b9a7..210ef42ee51e9a41ae6acdf8acec2644c536bfb4 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -1368,7 +1368,9 @@ $if DART2JS
@DomName('Element.scrollLeft')
@DocsEditable()
- void set scrollLeft(int value) => JS("void", "#.scrollLeft = #", this, value.round());
+ void set scrollLeft(int value) {
+ JS("void", "#.scrollLeft = #", this, value.round());
+ }
@DomName('Element.scrollTop')
@DocsEditable()
@@ -1376,7 +1378,9 @@ $if DART2JS
@DomName('Element.scrollTop')
@DocsEditable()
- void set scrollTop(int value) => JS("void", "#.scrollTop = #", this, value.round());
+ void set scrollTop(int value) {
+ JS("void", "#.scrollTop = #", this, value.round());
+ }
@DomName('Element.scrollWidth')
@DocsEditable()
« no previous file with comments | « tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698