| 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 ff4698f36476f159daabe185fdb3bc475f5badb0..41b238e343e290854b0b62f2cf10b67ed306d377 100644
|
| --- a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
|
| @@ -50,7 +50,13 @@ $!MEMBERS
|
| @DomName('CanvasRenderingContext2D.arc')
|
| void arc(num x, num y, num radius, num startAngle, num endAngle,
|
| [bool anticlockwise = false]) {
|
| + // TODO(terry): This should not be needed: dartbug.com/20939.
|
| +$if DART2JS
|
| + JS('void', '#.arc(#, #, #, #, #, #)', this, x, y, radius, startAngle,
|
| + endAngle, anticlockwise);
|
| +$else
|
| _arc(x, y, radius, startAngle, endAngle, anticlockwise);
|
| +$endif
|
| }
|
|
|
| /**
|
|
|