aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDynamicAnnotations.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@google.com>2014-07-08 15:54:06 -0400
committerGravatar Mike Klein <mtklein@google.com>2014-07-08 15:54:06 -0400
commitf7a180b10f6924ad94a69d6d366e5bce6ed31529 (patch)
tree00f4230cf6fd8a2efa01cbf22efa497e980f6822 /include/core/SkDynamicAnnotations.h
parentd5e3e6ae1b3434ad1158f441902ff65f1eeaa3a7 (diff)
Missing volatile in AnnotateBenignRaceSized declaration.
Diffstat (limited to 'include/core/SkDynamicAnnotations.h')
-rw-r--r--include/core/SkDynamicAnnotations.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkDynamicAnnotations.h b/include/core/SkDynamicAnnotations.h
index f9a80a31ef..7534d3e898 100644
--- a/include/core/SkDynamicAnnotations.h
+++ b/include/core/SkDynamicAnnotations.h
@@ -20,7 +20,7 @@ extern "C" {
void AnnotateIgnoreReadsBegin(const char* file, int line);
void AnnotateIgnoreReadsEnd(const char* file, int line);
void AnnotateBenignRaceSized(const char* file, int line,
- const void* addr, long size, const char* desc);
+ const volatile void* addr, long size, const char* desc);
} // extern "C"
// SK_ANNOTATE_UNPROTECTED_READ can wrap any variable read to tell TSAN to ignore that it appears to