| Index: skia/ext/canvas_paint_win.h
|
| diff --git a/skia/ext/canvas_paint_win.h b/skia/ext/canvas_paint_win.h
|
| index 961002522b3c6724a4c2b427e5db4b79fbf7011b..f03ef556535e554b026e1cb671549551ad887ef0 100644
|
| --- a/skia/ext/canvas_paint_win.h
|
| +++ b/skia/ext/canvas_paint_win.h
|
| @@ -109,10 +109,7 @@ class CanvasPaintT : public T {
|
| // inset pixels to the screen.
|
| const int width = ps_.rcPaint.right - ps_.rcPaint.left;
|
| const int height = ps_.rcPaint.bottom - ps_.rcPaint.top;
|
| - if (!canvas->initialize(width, height, opaque, NULL)) {
|
| - // Cause a deliberate crash;
|
| - *(char*) 0 = 0;
|
| - }
|
| + CHECK(canvas->initialize(width, height, opaque, NULL));
|
|
|
| // This will bring the canvas into the screen coordinate system for the
|
| // dirty rect
|
|
|