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

Unified Diff: src/core/SkScan_AAAPath.cpp

Issue 2481703004: Fix the meaning of stop_y (Closed)
Patch Set: Fix the meaning of stop_y Created 4 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkScan_AAAPath.cpp
diff --git a/src/core/SkScan_AAAPath.cpp b/src/core/SkScan_AAAPath.cpp
index 91b6e397ae260a2e158c8314a5406fd1bde30c35..672a0e1fa74cacf4695c3f887a90240baafeab5c 100644
--- a/src/core/SkScan_AAAPath.cpp
+++ b/src/core/SkScan_AAAPath.cpp
@@ -959,7 +959,7 @@ static inline void aaa_walk_convex_edges(SkAnalyticEdge* prevHead, AdditiveBlitt
if (isSmoothEnough(leftE, riteE, currE, stop_y) && !forceRLE) {
local_bot_fixed = SkFixedCeilToFixed(local_bot_fixed);
}
- local_bot_fixed = SkMin32(local_bot_fixed, SkIntToFixed(stop_y + 1));
+ local_bot_fixed = SkMin32(local_bot_fixed, SkIntToFixed(stop_y));
SkFixed left = leftE->fX;
SkFixed dLeft = leftE->fDX;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698