diff options
Diffstat (limited to 'src/gpu/GrTemplates.h')
-rw-r--r-- | src/gpu/GrTemplates.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gpu/GrTemplates.h b/src/gpu/GrTemplates.h index 69720dc111..5a009dfdf1 100644 --- a/src/gpu/GrTemplates.h +++ b/src/gpu/GrTemplates.h @@ -1,4 +1,3 @@ - /* * Copyright 2010 Google Inc. * @@ -6,11 +5,10 @@ * found in the LICENSE file. */ - #ifndef GrTemplates_DEFINED #define GrTemplates_DEFINED -#include "GrNoncopyable.h" +#include "SkTypes.h" /** * Use to cast a ptr to a different type, and maintain strict-aliasing @@ -37,7 +35,7 @@ template <typename Dst, typename Src> Dst GrTCast(Src src) { * ... * } // fCount is restored */ -template <typename T> class GrAutoTRestore : public GrNoncopyable { +template <typename T> class GrAutoTRestore : public SkNoncopyable { public: GrAutoTRestore() : fPtr(NULL), fVal() {} |