fix builder winding again
Record the nesting level when finding the edge winding contribution
so that inner edges can be reversed as needed.
R=fmalita@chromium.org
BUG=skia:3838
Review URL: https://codereview.chromium.org/1140383002
diff --git a/tests/PathOpsExtendedTest.h b/tests/PathOpsExtendedTest.h
index a604761..c4baa63 100644
--- a/tests/PathOpsExtendedTest.h
+++ b/tests/PathOpsExtendedTest.h
@@ -29,6 +29,13 @@
//extern int comparePaths(const SkPath& one, const SkPath& two);
extern int comparePaths(skiatest::Reporter* reporter, const char* filename,
const SkPath& one, const SkPath& two, SkBitmap& bitmap);
+
+inline int comparePaths(skiatest::Reporter* reporter, const char* filename,
+ const SkPath& one, const SkPath& two) {
+ SkBitmap bitmap;
+ return comparePaths(reporter, filename, one, two, bitmap);
+}
+
extern bool drawAsciiPaths(const SkPath& one, const SkPath& two, bool drawPaths);
extern void showOp(const SkPathOp op);
extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,