aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrTypes.h')
-rw-r--r--include/gpu/GrTypes.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
index b38608e666..fc233ea0cd 100644
--- a/include/gpu/GrTypes.h
+++ b/include/gpu/GrTypes.h
@@ -616,22 +616,4 @@ static inline size_t GrCompressedFormatDataSize(GrPixelConfig config,
*/
static const uint32_t kAll_GrBackendState = 0xffffffff;
-///////////////////////////////////////////////////////////////////////////////
-
-#if GR_ALWAYS_ALLOCATE_ON_HEAP
- #define GrAutoMallocBaseType SkAutoMalloc
-#else
- #define GrAutoMallocBaseType SkAutoSMalloc<S>
-#endif
-
-template <size_t S> class GrAutoMalloc : public GrAutoMallocBaseType {
-public:
- GrAutoMalloc() : INHERITED() {}
- explicit GrAutoMalloc(size_t size) : INHERITED(size) {}
- virtual ~GrAutoMalloc() {}
-private:
- typedef GrAutoMallocBaseType INHERITED;
-};
-
-#undef GrAutoMallocBaseType
#endif