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

Unified Diff: include/gpu/GrEffectStage.h

Issue 23703010: Replace uses of GR_DEBUGCODE by SkDEBUGCODE. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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/gpu/GrConfig.h ('k') | src/gpu/GrAllocPool.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrEffectStage.h
diff --git a/include/gpu/GrEffectStage.h b/include/gpu/GrEffectStage.h
index 561a7890f53657da9d25b7fd5434b647fe1bbc7e..8b6cb11dfc6b9f489c47175c31107455eec98b05 100644
--- a/include/gpu/GrEffectStage.h
+++ b/include/gpu/GrEffectStage.h
@@ -87,7 +87,7 @@ public:
private:
bool fCoordChangeMatrixSet;
SkMatrix fCoordChangeMatrix;
- GR_DEBUGCODE(mutable SkAutoTUnref<const GrEffectRef> fEffectRef;)
+ SkDEBUGCODE(mutable SkAutoTUnref<const GrEffectRef> fEffectRef;)
friend class GrEffectStage;
};
@@ -104,8 +104,8 @@ public:
savedCoordChange->fCoordChangeMatrix = fCoordChangeMatrix;
}
SkASSERT(NULL == savedCoordChange->fEffectRef.get());
- GR_DEBUGCODE(SkRef(fEffectRef.get());)
- GR_DEBUGCODE(savedCoordChange->fEffectRef.reset(fEffectRef.get());)
+ SkDEBUGCODE(SkRef(fEffectRef.get());)
+ SkDEBUGCODE(savedCoordChange->fEffectRef.reset(fEffectRef.get());)
}
/**
@@ -117,7 +117,7 @@ public:
fCoordChangeMatrix = savedCoordChange.fCoordChangeMatrix;
}
SkASSERT(savedCoordChange.fEffectRef.get() == fEffectRef);
- GR_DEBUGCODE(savedCoordChange.fEffectRef.reset(NULL);)
+ SkDEBUGCODE(savedCoordChange.fEffectRef.reset(NULL);)
}
/**
« no previous file with comments | « include/gpu/GrConfig.h ('k') | src/gpu/GrAllocPool.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698