Index: tests/GrTRecorderTest.cpp |
diff --git a/tests/GrTRecorderTest.cpp b/tests/GrTRecorderTest.cpp |
index a5aedf687c1ef780a074f3f3290a236c84f6330d..83bc445b5f19a7847d3bf9c317957f2bc9cb42c2 100644 |
--- a/tests/GrTRecorderTest.cpp |
+++ b/tests/GrTRecorderTest.cpp |
@@ -214,7 +214,7 @@ static void test_subclasses(skiatest::Reporter* reporter) { |
break; |
default: |
- reporter->reportFailed(SkString("Invalid class type")); |
+ ERRORF(reporter, "Invalid class type"); |
break; |
} |
} |