diff options
-rw-r--r-- | src/pathops/SkPathOpsDebug.cpp | 2 | ||||
-rw-r--r-- | tests/PathOpsDebug.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pathops/SkPathOpsDebug.cpp b/src/pathops/SkPathOpsDebug.cpp index b3ca85210b..f13b958a84 100644 --- a/src/pathops/SkPathOpsDebug.cpp +++ b/src/pathops/SkPathOpsDebug.cpp @@ -42,7 +42,7 @@ int SkPathOpsDebug::gSortCount; #endif #if DEBUG_ACTIVE_OP -const char* SkPathOpsDebug::kPathOpStr[] = {"diff", "sect", "union", "xor"}; +const char* SkPathOpsDebug::kPathOpStr[] = {"diff", "sect", "union", "xor", "rdiff"}; #endif #if defined SK_DEBUG || !FORCE_RELEASE diff --git a/tests/PathOpsDebug.cpp b/tests/PathOpsDebug.cpp index 49f730a30f..8324f37dd4 100644 --- a/tests/PathOpsDebug.cpp +++ b/tests/PathOpsDebug.cpp @@ -1346,7 +1346,7 @@ void SkOpContour::dumpSegments(const char* prefix, SkPathOp op) const { bool firstOp = false; const SkOpContour* c = this; do { - if (!firstOp && c->operand() && op >= 0) { + if (!firstOp && c->operand()) { #if DEBUG_ACTIVE_OP SkDebugf("op %s\n", SkPathOpsDebug::kPathOpStr[op]); #endif |