Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(790)

Unified Diff: skia/ext/canvas_paint_mac.h

Issue 3089004: Mac: Some clang appeasing. (Closed)
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_auth_gssapi_posix.h ('k') | webkit/glue/glue_serialize.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « net/http/http_auth_gssapi_posix.h ('k') | webkit/glue/glue_serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698