aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkDQuadIntersection.cpp
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-23 11:56:44 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-23 11:56:44 +0000
commit3b97af5add04489d57c7926ba6dc6f0013daf40f (patch)
tree40db068c2b906575b3afa46cac6a2bbe9a840e39 /src/pathops/SkDQuadIntersection.cpp
parentc7e08bd6d06a421050ddd7060fbafa5b5e047752 (diff)
path ops -- use standard max, min, double-is-nan
fix a comment or two as well Review URL: https://codereview.chromium.org/13934009 git-svn-id: http://skia.googlecode.com/svn/trunk@8822 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pathops/SkDQuadIntersection.cpp')
-rw-r--r--src/pathops/SkDQuadIntersection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkDQuadIntersection.cpp b/src/pathops/SkDQuadIntersection.cpp
index 5abbbdcd82..5df08ac069 100644
--- a/src/pathops/SkDQuadIntersection.cpp
+++ b/src/pathops/SkDQuadIntersection.cpp
@@ -243,7 +243,7 @@ static void relaxed_is_linear(const SkDQuad& q1, const SkDQuad& q2, SkIntersecti
double m1 = flat_measure(q1);
double m2 = flat_measure(q2);
#if DEBUG_FLAT_QUADS
- double min = SkTMin<double>(m1, m2);
+ double min = SkTMin(m1, m2);
if (min > 5) {
SkDebugf("%s maybe not flat enough.. %1.9g\n", __FUNCTION__, min);
}