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

Unified Diff: src/core/SkDraw.cpp

Issue 1627703002: remove legacy defines (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove SK_SUPPORT_LEGACY_PATH_MEASURE_TVALUE etc Created 4 years, 11 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 | « include/core/SkPathMeasure.h ('k') | src/core/SkGeometry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkDraw.cpp
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp
index 9396fa7943b5b60323c79b11ff00a769e3874830..e205ee45c07dec544b10020ec41a6b80c658d7f5 100644
--- a/src/core/SkDraw.cpp
+++ b/src/core/SkDraw.cpp
@@ -1146,9 +1146,6 @@ void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint,
proc SK_INIT_TO_AVOID_WARNING;
SkDEBUGFAIL("unknown paint cap type");
}
-#ifdef SK_SUPPORT_LEGACY_HAIR_IGNORES_CAPS
- proc = SkScan::AntiHairPath;
-#endif
} else {
switch (paint->getStrokeCap()) {
case SkPaint::kButt_Cap:
@@ -1164,9 +1161,6 @@ void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint,
proc SK_INIT_TO_AVOID_WARNING;
SkDEBUGFAIL("unknown paint cap type");
}
-#ifdef SK_SUPPORT_LEGACY_HAIR_IGNORES_CAPS
- proc = SkScan::HairPath;
-#endif
}
}
proc(*devPathPtr, *fRC, blitter);
« no previous file with comments | « include/core/SkPathMeasure.h ('k') | src/core/SkGeometry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698