Index: tests/PathCoverageTest.cpp |
diff --git a/tests/PathCoverageTest.cpp b/tests/PathCoverageTest.cpp |
index 25b5fd1c09c905658285c8f72ebe45070a455d72..7153550523eabbcd1282336647bc280a88b09d60 100644 |
--- a/tests/PathCoverageTest.cpp |
+++ b/tests/PathCoverageTest.cpp |
@@ -137,14 +137,12 @@ static bool one_d_pe(const int* array, const unsigned int count, |
(estimatedCount <= 2 * computedCount); |
if (!isAccurate) { |
- SkString errorDescription; |
- errorDescription.printf( |
- "Curve from %.2f %.2f through %.2f %.2f to %.2f %.2f " |
- "computes %d, estimates %d\n", |
- path[0].fX, path[0].fY, path[1].fX, path[1].fY, |
- path[2].fX, path[2].fY, computedCount, estimatedCount); |
+ REPORTF(reporter, |
+ ("Curve from %.2f %.2f through %.2f %.2f to %.2f %.2f " |
+ "computes %d, estimates %d\n", |
+ path[0].fX, path[0].fY, path[1].fX, path[1].fY, |
+ path[2].fX, path[2].fY, computedCount, estimatedCount)); |
numErrors++; |
- reporter->reportFailed(errorDescription); |
} |
} |