| Index: tests/DataRefTest.cpp
|
| diff --git a/tests/DataRefTest.cpp b/tests/DataRefTest.cpp
|
| index b31bfcdd5cba8d8930f391f8db4dd9f339547574..6a513923ffc3b1e27e059bc0ce318516c78b3d37 100644
|
| --- a/tests/DataRefTest.cpp
|
| +++ b/tests/DataRefTest.cpp
|
| @@ -186,9 +186,7 @@ static void test_files(skiatest::Reporter* reporter) {
|
| {
|
| SkFILEWStream writer(path.c_str());
|
| if (!writer.isValid()) {
|
| - SkString msg;
|
| - msg.printf("Failed to create tmp file %s\n", path.c_str());
|
| - reporter->reportFailed(msg);
|
| + ERRORF(reporter, "Failed to create tmp file %s\n", path.c_str());
|
| return;
|
| }
|
| writer.write(s, 26);
|
|
|