diff options
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/canvas_paint_mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/ext/canvas_paint_mac.h b/skia/ext/canvas_paint_mac.h index 5fc8256..ae1fda8 100644 --- a/skia/ext/canvas_paint_mac.h +++ b/skia/ext/canvas_paint_mac.h @@ -85,7 +85,7 @@ class CanvasPaintT : public T { if (!T::initialize(rectangle_.size.width, rectangle_.size.height, opaque, NULL)) { // Cause a deliberate crash; - *(char*) 0 = 0; + *(volatile char*) 0 = 0; } // Need to translate so that the dirty region appears at the origin of the |