Index: tests/html/url_test.dart |
diff --git a/tests/html/url_test.dart b/tests/html/url_test.dart |
index 4b784ca28ca84db11d76d1a7375d0dedbed5121c..c52b7c6d885ec10f8f93eba1462f743ca50c7d30 100644 |
--- a/tests/html/url_test.dart |
+++ b/tests/html/url_test.dart |
@@ -19,7 +19,7 @@ main() { |
context.fillStyle = 'red'; |
context.fillRect(0, 0, canvas.width, canvas.height); |
- var dataUri = canvas.toDataURL('image/png'); |
+ var dataUri = canvas.toDataUrl('image/png'); |
var byteString = window.atob(dataUri.split(',')[1]); |
var mimeString = dataUri.split(',')[0].split(':')[1].split(';')[0]; |