Index: tests/PathOpsExtendedTest.h |
diff --git a/tests/PathOpsExtendedTest.h b/tests/PathOpsExtendedTest.h |
index a604761a7d782753a34ad0f07e51f9f8dc3743b1..c4baa63b51a8bf659dce03e5d0e29ba74ccd34b5 100644 |
--- a/tests/PathOpsExtendedTest.h |
+++ b/tests/PathOpsExtendedTest.h |
@@ -29,6 +29,13 @@ struct TestDesc { |
//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, |