diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-04 12:57:42 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-04 12:57:42 +0000 |
commit | 9dde018753c4d16cdc60c008c32bb0b573a82944 (patch) | |
tree | a6d9af11d5a2e04fd23f7f42b4cfdb38ba814de7 /src/effects | |
parent | aac2fb8019282e8933d76462b3bc62bf727e6627 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7533 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/gradients/SkLinearGradient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp index 0d3cc7e0be..03393f726a 100644 --- a/src/effects/gradients/SkLinearGradient.cpp +++ b/src/effects/gradients/SkLinearGradient.cpp @@ -133,7 +133,7 @@ void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, unsigned fullIndex = proc(fx); unsigned fi = fullIndex >> SkGradientShaderBase::kCache32Shift; unsigned remainder = fullIndex & ((1 << SkGradientShaderBase::kCache32Shift) - 1); - + int index0 = fi + toggle; int index1 = index0; if (fi < SkGradientShaderBase::kCache32Count - 1) { |