diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 04:27:19 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 04:27:19 +0000 |
commit | f024f7900b966402d73c9516a9b7e6fe7e98684c (patch) | |
tree | fae561da12e5cbab2df4412c35bd6b75a0a18a06 /skia/ext | |
parent | 30cb7a44b47b8ec5ef9607ef65dcd6aead29bbe9 (diff) | |
download | chromium_src-f024f7900b966402d73c9516a9b7e6fe7e98684c.zip chromium_src-f024f7900b966402d73c9516a9b7e6fe7e98684c.tar.gz chromium_src-f024f7900b966402d73c9516a9b7e6fe7e98684c.tar.bz2 |
Mac: Some clang appeasing.
BUG=TEST=none
Review URL: http://codereview.chromium.org/3089004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext')
-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 |