aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPath.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-11-11 10:43:44 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-12 15:23:55 +0000
commitad61192eda55a71de9253b6204ed5490867b4f36 (patch)
tree4dfa4a1dbb41aec45dcf3ee7309d0ec43ad361c5 /include/core/SkPath.h
parent744908e5e81f81f34288a1b5547aa4ea990ad13d (diff)
SkPath::fIsVolatile does not need to be mutable.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4696 Change-Id: I48b438ab1d99033ab2a422fb28e976cdf9188365 Reviewed-on: https://skia-review.googlesource.com/4696 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'include/core/SkPath.h')
-rw-r--r--include/core/SkPath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index 36dfdfefa6..486a993231 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -1126,7 +1126,7 @@ private:
uint8_t fFillType;
mutable uint8_t fConvexity;
mutable SkAtomic<uint8_t, sk_memory_order_relaxed> fFirstDirection;// SkPathPriv::FirstDirection
- mutable SkBool8 fIsVolatile;
+ SkBool8 fIsVolatile;
/** Resets all fields other than fPathRef to their initial 'empty' values.
* Assumes the caller has already emptied fPathRef.