Replace uses of GrNoncopyable by SkNoncopyable.
BUG=None
TEST=None, no functional changes.
R=bsalomon@google.com, robertphillips@google.com
Author: tfarina@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23483042
git-svn-id: http://skia.googlecode.com/svn/trunk@11341 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index bfc15b0..6440790 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -22,6 +22,7 @@
#include "effects/GrSimpleTextureEffect.h"
#include "SkMatrix.h"
+#include "SkTypes.h"
#include "SkXfermode.h"
class GrDrawState : public SkRefCnt {
@@ -279,7 +280,7 @@
/**
* Constructor sets the color to be 'color' which is undone by the destructor.
*/
- class AutoColorRestore : public ::GrNoncopyable {
+ class AutoColorRestore : public ::SkNoncopyable {
public:
AutoColorRestore() : fDrawState(NULL), fOldColor(0) {}
@@ -400,7 +401,7 @@
* When this object is destroyed it will remove any effects from the draw state that were added
* after its constructor.
*/
- class AutoRestoreEffects : public ::GrNoncopyable {
+ class AutoRestoreEffects : public ::SkNoncopyable {
public:
AutoRestoreEffects() : fDrawState(NULL), fColorEffectCnt(0), fCoverageEffectCnt(0) {}
@@ -605,7 +606,7 @@
* Preconcats the current view matrix and restores the previous view matrix in the destructor.
* Effect matrices are automatically adjusted to compensate and adjusted back in the destructor.
*/
- class AutoViewMatrixRestore : public ::GrNoncopyable {
+ class AutoViewMatrixRestore : public ::SkNoncopyable {
public:
AutoViewMatrixRestore() : fDrawState(NULL) {}
@@ -659,7 +660,7 @@
const GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); }
GrRenderTarget* getRenderTarget() { return fRenderTarget.get(); }
- class AutoRenderTargetRestore : public ::GrNoncopyable {
+ class AutoRenderTargetRestore : public ::SkNoncopyable {
public:
AutoRenderTargetRestore() : fDrawState(NULL), fSavedTarget(NULL) {}
AutoRenderTargetRestore(GrDrawState* ds, GrRenderTarget* newTarget) {