| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 56cfd19145364c2af42d2c36e19d47c792498e15..dfef133ee1f6b9363f5f8ee8000ccc5624022afd 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -1211,7 +1211,7 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
|
| _putImageData_1(imagedata_1, dx, dy);
|
| return;
|
| }
|
| - if (dirtyX != null && dirtyY != null && dirtyWidth != null && dirtyHeight != null) {
|
| + if (?dirtyX && ?dirtyY && ?dirtyWidth && ?dirtyHeight) {
|
| var imagedata_2 = _convertDartToNative_ImageData(imagedata);
|
| _putImageData_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight);
|
| return;
|
| @@ -1308,7 +1308,7 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
|
| _putImageDataHD_1(imagedata_1, dx, dy);
|
| return;
|
| }
|
| - if (dirtyX != null && dirtyY != null && dirtyWidth != null && dirtyHeight != null) {
|
| + if (?dirtyX && ?dirtyY && ?dirtyWidth && ?dirtyHeight) {
|
| var imagedata_2 = _convertDartToNative_ImageData(imagedata);
|
| _putImageDataHD_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight);
|
| return;
|
|
|