Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Unified Diff: src/pathops/SkDCubicIntersection.cpp

Issue 14034014: path ops -- use standard SkTQSort (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pathops/SkDCubicToQuads.cpp » ('j') | src/pathops/SkPathOpsCommon.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pathops/SkDCubicIntersection.cpp
===================================================================
--- src/pathops/SkDCubicIntersection.cpp (revision 8745)
+++ src/pathops/SkDCubicIntersection.cpp (working copy)
@@ -13,7 +13,7 @@
#include "SkPathOpsRect.h"
#include "SkReduceOrder.h"
#include "SkTDArray.h"
-#include "TSearch.h"
+#include "SkTSort.h"
#if ONE_OFF_DEBUG
static const double tLimits1[2][2] = {{0.36, 0.37}, {0.63, 0.64}};
@@ -342,7 +342,7 @@
if (tVals.count() == 0) {
return;
}
- QSort<double>(tVals.begin(), tVals.end() - 1);
+ SkTQSort<double>(tVals.begin(), tVals.end() - 1);
double tMin1 = start ? 0 : 1 - LINE_FRACTION;
double tMax1 = start ? LINE_FRACTION : 1;
int tIdx = 0;
« no previous file with comments | « no previous file | src/pathops/SkDCubicToQuads.cpp » ('j') | src/pathops/SkPathOpsCommon.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698