diff options
author | 2013-08-16 07:01:49 +0000 | |
---|---|---|
committer | 2013-08-16 07:01:49 +0000 | |
commit | c9917c054567ab03419614f01392ecf13f29da5c (patch) | |
tree | 1c78d62b8228e30ddd9858f3eeb70098684d7d30 /src | |
parent | 1e973d725c045adfd3578427c7818a4595b197a2 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@10764 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkStroke.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkStroke.cpp b/src/core/SkStroke.cpp index 2037224733..b138c326ba 100644 --- a/src/core/SkStroke.cpp +++ b/src/core/SkStroke.cpp @@ -35,7 +35,7 @@ static inline bool normals_too_pinchy(const SkVector& norm0, SkVector& norm1) { static const int kMinSigBitsForDot = 8; static const SkScalar kDotEpsilon = FLT_EPSILON * (1 << kMinSigBitsForDot); static const SkScalar kTooPinchyNormalDotProd = kDotEpsilon - 1; - + // just some sanity asserts to help document the expected range SkASSERT(kTooPinchyNormalDotProd >= -1); SkASSERT(kTooPinchyNormalDotProd < SkDoubleToScalar(-0.999)); |