| Index: skia/ext/canvas_paint_win.h
|
| ===================================================================
|
| --- skia/ext/canvas_paint_win.h (revision 109956)
|
| +++ skia/ext/canvas_paint_win.h (working copy)
|
| @@ -109,7 +109,10 @@
|
| // inset pixels to the screen.
|
| const int width = ps_.rcPaint.right - ps_.rcPaint.left;
|
| const int height = ps_.rcPaint.bottom - ps_.rcPaint.top;
|
| - CHECK(canvas->initialize(width, height, opaque, NULL));
|
| + if (!canvas->initialize(width, height, opaque, NULL)) {
|
| + // Cause a deliberate crash;
|
| + *(char*) 0 = 0;
|
| + }
|
|
|
| // This will bring the canvas into the screen coordinate system for the
|
| // dirty rect
|
|
|