Index: include/core/SkPath.h |
diff --git a/include/core/SkPath.h b/include/core/SkPath.h |
index d3673b6d5d35504aff815f9dcb58b06582545a69..2200e03c0c240d3ad6e63c97ac0e9f3db316edb3 100644 |
--- a/include/core/SkPath.h |
+++ b/include/core/SkPath.h |
@@ -938,13 +938,12 @@ private: |
kCurrent_Version = 1 |
}; |
- SkAutoTUnref<SkPathRef> fPathRef; |
- |
- int fLastMoveToIndex; |
- uint8_t fFillType; |
- mutable uint8_t fConvexity; |
- mutable SkAtomic<uint8_t> fFirstDirection; // SkPathPriv::FirstDirection |
- mutable SkBool8 fIsVolatile; |
+ SkAutoTUnref<SkPathRef> fPathRef; |
+ int fLastMoveToIndex; |
+ uint8_t fFillType; |
+ mutable uint8_t fConvexity; |
+ mutable SkAtomic<uint8_t, sk_memory_order_relaxed> fFirstDirection;// SkPathPriv::FirstDirection |
+ mutable SkBool8 fIsVolatile; |
/** Resets all fields other than fPathRef to their initial 'empty' values. |
* Assumes the caller has already emptied fPathRef. |