Index: tests/StreamTest.cpp |
diff --git a/tests/StreamTest.cpp b/tests/StreamTest.cpp |
index 00c079abc0436251fd81c864b07b122748055d97..cf828430a97d086695bc83d68584f36b24be3921 100644 |
--- a/tests/StreamTest.cpp |
+++ b/tests/StreamTest.cpp |
@@ -44,7 +44,7 @@ static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) { |
if (!writer.isValid()) { |
SkString msg; |
msg.printf("Failed to create tmp file %s\n", path.c_str()); |
- reporter->reportFailed(msg.c_str()); |
+ reporter->reportFailed(msg); |
return; |
} |