diff options
Diffstat (limited to 'include/core/SkPath.h')
-rw-r--r-- | include/core/SkPath.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h index d3673b6d5d..2200e03c0c 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. |