Index: sdk/lib/html/dartium/html_dartium.dart |
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart |
index e1219575b74eb244c8a0528ac508bc9c663c7e6c..840780204ee4013900a6c8be200bb7866cecb69a 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -1476,7 +1476,7 @@ class CanvasRenderingContext2D extends CanvasRenderingContext { |
@DomName('CanvasRenderingContext2D.arc') |
@DocsEditable |
- void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native "CanvasRenderingContext2D_arc_Callback"; |
+ void $dom_arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native "CanvasRenderingContext2D_arc_Callback"; |
@DomName('CanvasRenderingContext2D.arcTo') |
@DocsEditable |
@@ -1874,6 +1874,13 @@ class CanvasRenderingContext2D extends CanvasRenderingContext { |
this.strokeStyle = 'hsla($h, $s%, $l%, $a)'; |
} |
+ @DomName('CanvasRenderingContext2D.arc') |
+ void arc(num x, num y, num radius, num startAngle, num endAngle, |
+ [bool anticlockwise: false]) { |
+ $dom_arc(x, y, radius, startAngle, endAngle, anticlockwise); |
+ } |
+ |
+ |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |