Index: tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate |
index bd70659e1e10e3578bd0fae4ace7c9411f527862..41b238e343e290854b0b62f2cf10b67ed306d377 100644 |
--- a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate |
@@ -280,7 +280,7 @@ $if DART2JS |
@DomName('CanvasRenderingContext2D.lineDashOffset') |
// TODO(14316): Firefox has this functionality with mozDashOffset, but it |
// needs to be polyfilled. |
- set lineDashOffset(num value) { |
+ void set lineDashOffset(num value) { |
JS('void', |
'typeof #.lineDashOffset != "undefined" ? #.lineDashOffset = # : ' |
'#.webkitLineDashOffset = #', this, this, value, this, value); |