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

Unified Diff: tests/html/canvas_test.dart

Issue 13726010: Rename context2d to context2D. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tests/html/canvasrenderingcontext2d_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/canvas_test.dart
diff --git a/tests/html/canvas_test.dart b/tests/html/canvas_test.dart
index 475d20bb82e2a8171dc7061c414eee535b1f7eac..65b6493591f19f09a4e28f49671fc03a7e98bef5 100644
--- a/tests/html/canvas_test.dart
+++ b/tests/html/canvas_test.dart
@@ -12,7 +12,7 @@ main() {
canvas = new CanvasElement(width:width, height:height);
document.body.nodes.add(canvas);
- context = canvas.context2d;
+ context = canvas.context2D;
useHtmlConfiguration();
test('CreateImageData', () {
@@ -32,7 +32,7 @@ main() {
if (false)
test('toDataUrl', () {
var canvas = new CanvasElement(width: 100, height: 100);
- var context = canvas.context2d;
+ var context = canvas.context2D;
context.fillStyle = 'red';
context.fill();
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tests/html/canvasrenderingcontext2d_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698