Fix trivial int->scalar warning introduced in r3772

git-svn-id: http://skia.googlecode.com/svn/trunk@3775 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2012-04-27 13:55:29 +00:00
parent 266530804f
commit e7655f1144

View File

@ -1621,7 +1621,7 @@ void GrContext::drawPath(const GrPaint& paint, const GrPath& path,
if (translate) {
ovalRect.offset(*translate);
}
SkScalar width = (fill == kHairLine_PathFill) ? 0 : -1;
SkScalar width = (fill == kHairLine_PathFill) ? 0 : -SK_Scalar1;
this->drawOval(paint, ovalRect, width);
return;
}