diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-19 14:43:45 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-19 14:43:45 +0000 |
commit | ad88340cf16162654ebddf4783ebb2ac56e1c3aa (patch) | |
tree | fe9005810ae1179785e8a0b36b7216ab2435df8c /src/gpu | |
parent | 628ed0b22045a9544b56e00e73137d6050ce900c (diff) |
Fix build error for windows for Dashing CL
NOTREECHECKS=True
NOTRY=True
R=bsalomon@google.com
TBR=bsalomon@google.com
BUG=skia:
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/291803004
git-svn-id: http://skia.googlecode.com/svn/trunk@14776 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/effects/GrDashingEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp index 8a7ce013c1..44974e8791 100644 --- a/src/gpu/effects/GrDashingEffect.cpp +++ b/src/gpu/effects/GrDashingEffect.cpp @@ -79,7 +79,7 @@ static SkScalar calc_end_adjustment(const SkPathEffect::DashInfo& info, const Sk } if (*endingInt > info.fIntervals[0]) { if (0 == info.fIntervals[0]) { - *endingInt -= 0.01; // make sure we capture the last zero size pnt (used if has caps) + *endingInt -= 0.01f; // make sure we capture the last zero size pnt (used if has caps) } return *endingInt - info.fIntervals[0]; } |