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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 282713002: "Reverting 36054" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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:
Download patch
« no previous file with comments | « no previous file | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f37f7e832ef4d1089a70d2511a93387317105c37..e44393d955881ba0283cf9aacbb804c567df5c75 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -1605,6 +1605,10 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
@Experimental() // untriaged
void ellipse(num x, num y, num radiusX, num radiusY, num rotation, num startAngle, num endAngle, bool anticlockwise) native;
+ @DomName('CanvasRenderingContext2D.fill')
+ @DocsEditable()
+ void fill([String winding]) native;
+
@DomName('CanvasRenderingContext2D.fillRect')
@DocsEditable()
void fillRect(num x, num y, num width, num height) native;
@@ -2058,9 +2062,6 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
JS('void', '#.fillText(#, #, #)', this, text, x, y);
}
}
-
- @DomName('CanvasRenderingContext2D.fill')
- void fill([String winding = '']) => JS('void', '#.fill(#)', this, winding);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
« no previous file with comments | « no previous file | tools/dom/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698