aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-29 22:14:04 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-29 22:14:04 +0000
commite02944075840d672bd1797f3d945ff82d302282f (patch)
treef7d8130aae0c4752c1a03cb99378f0d6963407f6 /tests
parent20146b3f7339d2c71c416397135e70e34f7fedb1 (diff)
Replace SkTScopedPtr with SkAutoTDelete in Skia.
BUG= R=djsollen@google.com, reed@google.com, vandebo@chromium.org Author: mtklein@google.com Review URL: https://chromiumcodereview.appspot.com/23621005 git-svn-id: http://skia.googlecode.com/svn/trunk@11016 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r--tests/WArrayTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/WArrayTest.cpp b/tests/WArrayTest.cpp
index 4a5b879ca5..bb196eff2e 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());