| Index: tests/StreamTest.cpp
|
| diff --git a/tests/StreamTest.cpp b/tests/StreamTest.cpp
|
| index 2b86e7bca347097295e3c9d9dbc8dbe3b52cd144..d0a850724107cd46c62b993f029b967d8b57c698 100644
|
| --- a/tests/StreamTest.cpp
|
| +++ b/tests/StreamTest.cpp
|
| @@ -155,8 +155,8 @@ static void TestWStream(skiatest::Reporter* reporter) {
|
| }
|
| delete[] dst;
|
|
|
| - if (skiatest::Test::GetTmpDir()) {
|
| - test_filestreams(reporter, skiatest::Test::GetTmpDir());
|
| + if (!skiatest::Test::GetTmpDir().isEmpty()) {
|
| + test_filestreams(reporter, skiatest::Test::GetTmpDir().c_str());
|
| }
|
| }
|
|
|
|
|