Skip to content

Commit

Permalink
Remove usage of NaN values in canvas_test that caused a Skia assert f…
Browse files Browse the repository at this point in the history
…ailure (flutter#3962)
  • Loading branch information
jason-simmons authored Aug 8, 2017
1 parent fce3036 commit 6a49511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/dart/canvas_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void main() {
dynamic fake = new FakeEverything();
dynamic no = new NegativeSpace();
Paint paint = new Paint();
Rect rect = new Rect.fromLTRB(double.NAN, double.NAN, double.NAN, double.NAN);
Rect rect = new Rect.fromLTRB(0.0, 0.0, 0.0, 0.0);
List<dynamic> list = <dynamic>[fake, fake];
Offset offset = new Offset(double.NAN, double.NAN);
Path path = new Path();
Expand Down

0 comments on commit 6a49511

Please sign in to comment.