aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/SkScan_AAAPath.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/SkScan_AAAPath.cpp b/src/core/SkScan_AAAPath.cpp
index 2df5338e9a..e4e6701cea 100644
--- a/src/core/SkScan_AAAPath.cpp
+++ b/src/core/SkScan_AAAPath.cpp
@@ -976,11 +976,7 @@ static inline bool isSmoothEnough(SkAnalyticEdge* leftE, SkAnalyticEdge* riteE,
return false;
}
// Ensure that currE is the next left edge and nextCurrE is the next right edge. Swap if not.
-#ifdef SK_SUPPORT_LEGACY_AAA_SMOOTH
- if (*nextCurrE < *currE) {
-#else
if (nextCurrE->fUpperX < currE->fUpperX) {
-#endif
SkTSwap(currE, nextCurrE);
}
return isSmoothEnough(leftE, currE, stop_y) && isSmoothEnough(riteE, nextCurrE, stop_y);