diff options
Diffstat (limited to 'tests/EmptyPathTest.cpp')
-rw-r--r-- | tests/EmptyPathTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/EmptyPathTest.cpp b/tests/EmptyPathTest.cpp index 5c054ec16b..153af1f50a 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); |