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

Unified Diff: src/pathops/SkOpSegment.cpp

Issue 338333002: fix chrome (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pathops/SkOpSegment.cpp
diff --git a/src/pathops/SkOpSegment.cpp b/src/pathops/SkOpSegment.cpp
index 59e6d344a5cca459472245be3c50f7cfc10d49c0..090173fe967f94b7e57b18d3921dd9e937aa6d9d 100644
--- a/src/pathops/SkOpSegment.cpp
+++ b/src/pathops/SkOpSegment.cpp
@@ -589,9 +589,7 @@ int SkOpSegment::addT(SkOpSegment* other, const SkPoint& pt, double newT) {
span = fTs.append();
}
span->fT = newT;
-#if SK_DEBUG
span->fOtherT = -1;
-#endif
span->fOther = other;
span->fPt = pt;
#if 0
@@ -3438,7 +3436,7 @@ SkOpSpan* SkOpSegment::markAndChaseWinding(int index, int endIndex, int winding,
SkOpSegment* other = this;
while ((other = other->nextChase(&index, &step, &min, &last))) {
if (other->fTs[min].fWindSum != SK_MinS32) {
-#if SK_DEBUG
+#ifdef SK_DEBUG
if (!other->fTs[min].fLoop) {
if (fOperand == other->fOperand) {
// FIXME: this is probably a bug -- rects4 asserts here
« 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