aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkOpContour.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-22 19:55:19 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-22 19:55:19 +0000
commitb76d3b677713693137936ff813b92c4be48af173 (patch)
tree5650fd2fd30fcc678aff98d03a47c9a2702e566a /src/pathops/SkOpContour.cpp
parentda2cd7b1880ac7c8836bcd74ec946bf28c0ee9fd (diff)
path ops -- use standard SkTQSort
thanks to bungeman for the contextual sort R=bungeman@google.com Author: caryclark@google.com Review URL: https://chromiumcodereview.appspot.com/14034014 git-svn-id: http://skia.googlecode.com/svn/trunk@8810 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pathops/SkOpContour.cpp')
-rw-r--r--src/pathops/SkOpContour.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathops/SkOpContour.cpp b/src/pathops/SkOpContour.cpp
index 54eecfab51..1aee4055c2 100644
--- a/src/pathops/SkOpContour.cpp
+++ b/src/pathops/SkOpContour.cpp
@@ -7,7 +7,7 @@
#include "SkIntersections.h"
#include "SkOpContour.h"
#include "SkPathWriter.h"
-#include "TSearch.h"
+#include "SkTSort.h"
void SkOpContour::addCoincident(int index, SkOpContour* other, int otherIndex,
const SkIntersections& ts, bool swap) {
@@ -159,7 +159,7 @@ void SkOpContour::sortSegments() {
for (int test = 0; test < segmentCount; ++test) {
*fSortedSegments.append() = &fSegments[test];
}
- QSort<SkOpSegment>(fSortedSegments.begin(), fSortedSegments.end() - 1);
+ SkTQSort<SkOpSegment>(fSortedSegments.begin(), fSortedSegments.end() - 1);
fFirstSorted = 0;
}