Index: skia/ext/canvas_paint_mac.h |
diff --git a/skia/ext/canvas_paint_mac.h b/skia/ext/canvas_paint_mac.h |
index 5fc82567d86b1a837ef27afef1fa3479a17364a6..ae1fda8a899a7358750ca57bc90bc67f806006fb 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 |