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

Unified Diff: tests/html/instance_of_test.dart

Issue 10908291: Reapply "Remove Object.dynamic." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « tests/co19/co19-runtime.status ('k') | tests/language/number_syntax_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/instance_of_test.dart
diff --git a/tests/html/instance_of_test.dart b/tests/html/instance_of_test.dart
index 6de9f18169147e796c1c126495352d23d53fa769..2d382c53163b9d84422ccc434ea3dde3b1db46f7 100644
--- a/tests/html/instance_of_test.dart
+++ b/tests/html/instance_of_test.dart
@@ -29,7 +29,8 @@ main() {
// Expect.isFalse(context is CanvasPixelArray);
// FIXME(b/5286633): Interface injection type check workaround.
- var image = context.createImageData(canvas.width.dynamic, canvas.height.dynamic);
+ var image = context.createImageData(canvas.width as Dynamic,
+ canvas.height as Dynamic);
Expect.isFalse(image is CanvasRenderingContext);
Expect.isFalse(image is CanvasRenderingContext2D);
Expect.isFalse(image is Element);
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/language/number_syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698