Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1684)

Unified Diff: tests/GrMemoryPoolTest.cpp

Issue 13831011: use SkAutoTDelete instead of SkTScopedPtr (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkTemplates.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/GrMemoryPoolTest.cpp
===================================================================
--- tests/GrMemoryPoolTest.cpp (revision 8748)
+++ tests/GrMemoryPoolTest.cpp (working copy)
@@ -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 @@
}
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:
« no previous file with comments | « include/core/SkTemplates.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698