diff options
Diffstat (limited to 'tests/GrMemoryPoolTest.cpp')
-rw-r--r-- | tests/GrMemoryPoolTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/GrMemoryPoolTest.cpp b/tests/GrMemoryPoolTest.cpp index 73f26a9b2e..0ed77bf5b1 100644 --- a/tests/GrMemoryPoolTest.cpp +++ b/tests/GrMemoryPoolTest.cpp @@ -11,7 +11,7 @@ #include "GrMemoryPool.h" #include "SkRandom.h" #include "SkTDArray.h" -#include "SkTScopedPtr.h" +#include "SkTemplates.h" #include "SkInstCnt.h" namespace { @@ -65,11 +65,11 @@ public: } private: - static SkTScopedPtr<GrMemoryPool> gPool; + static SkAutoTDelete<GrMemoryPool> gPool; char fChar; }; SK_DEFINE_INST_COUNT(A); -SkTScopedPtr<GrMemoryPool> A::gPool; +SkAutoTDelete<GrMemoryPool> A::gPool; class B : public A { public: |