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

Unified Diff: src/core/SkScan_Hairline.cpp

Issue 2379993004: Revert of Add SK_SUPPORT_LEGACY_HAIRLINE_END_CAP to work around dependent test failure. (Closed)
Patch Set: Created 4 years, 3 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 | « public.bzl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkScan_Hairline.cpp
diff --git a/src/core/SkScan_Hairline.cpp b/src/core/SkScan_Hairline.cpp
index cc57bb6d63ce1cfba512d06bd760666ff9ead96e..ce3fe2b6042413639766e5c58427c4e83599c440 100644
--- a/src/core/SkScan_Hairline.cpp
+++ b/src/core/SkScan_Hairline.cpp
@@ -593,12 +593,10 @@
break;
}
if (SkPaint::kButt_Cap != capStyle) {
-#if !defined(SK_SUPPORT_LEGACY_HAIRLINE_END_CAP)
if (prevVerb == SkPath::kMove_Verb &&
verb >= SkPath::kLine_Verb && verb <= SkPath::kCubic_Verb) {
firstPt = pts[0]; // the curve moved the initial point, so close to it instead
}
-#endif
prevVerb = verb;
}
}
« no previous file with comments | « public.bzl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698