aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-05 07:02:16 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-05 07:02:16 +0000
commit8491d24bdc3f48f67475c12c60babb9f9dba8047 (patch)
tree53904c01ab149bb1c9e3e597c22d61c4991a174a /src
parent967b25806585f2438d46c1c05b5016a19329d975 (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12499 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrPathUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrPathUtils.cpp b/src/gpu/GrPathUtils.cpp
index 824360285d..e2b1ac7634 100644
--- a/src/gpu/GrPathUtils.cpp
+++ b/src/gpu/GrPathUtils.cpp
@@ -210,7 +210,7 @@ void GrPathUtils::QuadUVMatrix::set(const GrPoint qPts[3]) {
double y2 = qPts[2].fY;
double det = x0*y1 - y0*x1 + x2*y0 - y2*x0 + x1*y2 - y1*x2;
- if (!sk_float_isfinite(det)
+ if (!sk_float_isfinite(det)
|| SkScalarNearlyZero((float)det, SK_ScalarNearlyZero * SK_ScalarNearlyZero)) {
// The quad is degenerate. Hopefully this is rare. Find the pts that are
// farthest apart to compute a line (unless it is really a pt).
@@ -266,7 +266,7 @@ void GrPathUtils::QuadUVMatrix::set(const GrPoint qPts[3]) {
a7 = x1-x0;
a8 = x0*y1-x1*y0;
- // this performs the uv_pts*adjugate(control_pts) multiply,
+ // this performs the uv_pts*adjugate(control_pts) multiply,
// then does the scale by 1/det afterwards to improve precision
m[SkMatrix::kMScaleX] = (float)((0.5*a3 + a6)*scale);
m[SkMatrix::kMSkewX] = (float)((0.5*a4 + a7)*scale);