Index: tests/WArrayTest.cpp |
diff --git a/tests/WArrayTest.cpp b/tests/WArrayTest.cpp |
index 4a5b879ca503407ee56e0808a175fbc65e8e4ae2..bb196eff2ef62eb7317dc4aa16c5e98131d01693 100644 |
--- a/tests/WArrayTest.cpp |
+++ b/tests/WArrayTest.cpp |
@@ -165,7 +165,7 @@ class TestWData { |
} |
bool RunTest() { |
- SkTScopedPtr<SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t> > result; |
+ SkAutoTDelete<SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t> > result; |
result.reset(getAdvanceData((void*)this, fAdvancesLen, fSubset, fSubsetLen, getAdvance)); |
SkString stringResult = stringify_advance_data(result.get()); |