Index: include/core/SkDynamicAnnotations.h |
diff --git a/include/core/SkDynamicAnnotations.h b/include/core/SkDynamicAnnotations.h |
index 422d98db43d2f92bcb049872cec24db33c012c51..872a292e5dae9075c9e5a69978ed379389646dc4 100644 |
--- a/include/core/SkDynamicAnnotations.h |
+++ b/include/core/SkDynamicAnnotations.h |
@@ -42,7 +42,7 @@ inline T SK_ANNOTATE_UNPROTECTED_READ(const volatile T& x) { |
// Like SK_ANNOTATE_UNPROTECTED_READ, but for writes. |
template <typename T> |
-inline void SK_ANNOTATE_UNPROTECTED_WRITE(T* ptr, const volatile T& val) { |
+inline void SK_ANNOTATE_UNPROTECTED_WRITE(T* ptr, const T& val) { |
AnnotateIgnoreWritesBegin(__FILE__, __LINE__); |
*ptr = val; |
AnnotateIgnoreWritesEnd(__FILE__, __LINE__); |