Index: tests/DataRefTest.cpp |
diff --git a/tests/DataRefTest.cpp b/tests/DataRefTest.cpp |
index 6a58c1650715513ca7b96012ebb4f608ccad7b7a..9ca4520f311fefe2757bf455f93da9edfa1f5a5b 100644 |
--- a/tests/DataRefTest.cpp |
+++ b/tests/DataRefTest.cpp |
@@ -174,7 +174,7 @@ static void test_cstring(skiatest::Reporter* reporter) { |
} |
static void test_files(skiatest::Reporter* reporter) { |
- SkString tmpDir = skiatest::Test::GetTmpDir(); |
+ SkString tmpDir = reporter->getTmpDir(); |
if (tmpDir.isEmpty()) { |
return; |
} |