Index: include/core/SkDynamicAnnotations.h |
diff --git a/include/core/SkDynamicAnnotations.h b/include/core/SkDynamicAnnotations.h |
index 748200de512cb312a002ed0fca8d448717fc7ada..422d98db43d2f92bcb049872cec24db33c012c51 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 T SK_ANNOTATE_UNPROTECTED_WRITE(T* ptr, const volatile T& val) { |
+inline void SK_ANNOTATE_UNPROTECTED_WRITE(T* ptr, const volatile T& val) { |
AnnotateIgnoreWritesBegin(__FILE__, __LINE__); |
*ptr = val; |
AnnotateIgnoreWritesEnd(__FILE__, __LINE__); |