diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-19 14:59:04 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-19 14:59:04 +0000 |
commit | 71db88225d4e26303b5c3ad2c44305f6a5660754 (patch) | |
tree | 64bb62fe7c7a500735c29d1de9d206dcce76390f | |
parent | ad88340cf16162654ebddf4783ebb2ac56e1c3aa (diff) |
Real fix for Widnows build errors for GrDashingEffect
NOTREECHECKS=True
NOTRY=True
R=bsalomon@google.com
TBR=bsalomon@google.com
BUG=skia:
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/291903002
git-svn-id: http://skia.googlecode.com/svn/trunk@14777 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gm/dashing.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gm/dashing.cpp b/gm/dashing.cpp index 23de24d26b..9868d315db 100644 --- a/gm/dashing.cpp +++ b/gm/dashing.cpp @@ -374,24 +374,24 @@ protected: paint.setStrokeCap(SkPaint::kSquare_Cap); // Single dash element that is cut off at start and end - drawline(canvas, 32.f, 16.f, paint, 20.f, 0, 5.f); + drawline(canvas, 32, 16, paint, 20.f, 0, 5.f); canvas->translate(0, SkIntToScalar(20)); // Two dash elements where each one is cut off at beginning and end respectively - drawline(canvas, 32.f, 16.f, paint, 56.f, 0, 5.f); + drawline(canvas, 32, 16, paint, 56.f, 0, 5.f); canvas->translate(0, SkIntToScalar(20)); // Many dash elements where first and last are cut off at beginning and end respectively - drawline(canvas, 32.f, 16.f, paint, 584.f, 0, 5.f); + drawline(canvas, 32, 16, paint, 584.f, 0, 5.f); canvas->translate(0, SkIntToScalar(20)); // Diagonal dash line where src pnts are not axis aligned (as apposed to being diagonal from // a canvas rotation) - drawline(canvas, 32.f, 16.f, paint, 600.f, 30.f); + drawline(canvas, 32, 16, paint, 600.f, 30.f); canvas->translate(0, SkIntToScalar(20)); // Case where only the off interval exists on the line. Thus nothing should be drawn - drawline(canvas, 32.f, 16.f, paint, 8.f, 0.f, 40.f); + drawline(canvas, 32, 16, paint, 8.f, 0.f, 40.f); canvas->translate(0, SkIntToScalar(20)); } } |