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 b2b88d77ec8103baacc6a4a39b5fe1931ed28cfe..196e8010abacd70961885a057b98a13f54be703a 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -2040,7 +2040,9 @@ class CanvasRenderingContext2D extends Interceptor implements CanvasRenderingCon |
@DomName('CanvasRenderingContext2D.arc') |
void arc(num x, num y, num radius, num startAngle, num endAngle, |
[bool anticlockwise = false]) { |
- _arc(x, y, radius, startAngle, endAngle, anticlockwise); |
+ // TODO(terry): This should not be needed: dartbug.com/20939. |
+ JS('void', '#.arc(#, #, #, #, #, #)', this, x, y, radius, startAngle, |
+ endAngle, anticlockwise); |
} |
/** |