Index: tests/EmptyPathTest.cpp |
diff --git a/tests/EmptyPathTest.cpp b/tests/EmptyPathTest.cpp |
index 5c054ec16b36e69ccea0c0a2e053ebd9cd8e830e..153af1f50abf56794cc84576d47c3bb30867fc5a 100644 |
--- a/tests/EmptyPathTest.cpp |
+++ b/tests/EmptyPathTest.cpp |
@@ -59,7 +59,7 @@ static void drawAndTest(skiatest::Reporter* reporter, const SkPath& path, |
} |
appendStr(&str, paint); |
appendStr(&str, path); |
- reporter->report(str.c_str(), skiatest::Reporter::kFailed); |
+ reporter->reportFailed(str); |
// uncomment this if you want to step in to see the failure |
// canvas.drawPath(path, p); |