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

Unified Diff: tests/html/canvas_test.dart

Issue 10544111: Some HTML API cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add new template Created 8 years, 6 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
Index: tests/html/canvas_test.dart
diff --git a/tests/html/canvas_test.dart b/tests/html/canvas_test.dart
index 602675b8ffcd83a3c6074d3c88b68b7f4fc874f7..61d6a2ea720b511179da0dfdc2dbc87c692e1a0d 100644
--- a/tests/html/canvas_test.dart
+++ b/tests/html/canvas_test.dart
@@ -14,7 +14,7 @@ main() {
canvas.attributes['height'] = height;
document.body.nodes.add(canvas);
- context = canvas.getContext('2d');
+ context = canvas.context2d;
useHtmlConfiguration();
test('FillStyle', () {

Powered by Google App Engine
This is Rietveld 408576698