Chromium Code Reviews| 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', () { |