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

Unified Diff: src/gpu/GrTHashCache.h

Issue 23137022: Replace uses of GR_DEBUG by SK_DEBUG. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: not GR_RELEASE Created 7 years, 4 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 | « src/gpu/GrResourceCache.cpp ('k') | src/gpu/GrTextStrike.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrTHashCache.h
diff --git a/src/gpu/GrTHashCache.h b/src/gpu/GrTHashCache.h
index 01b08e7a0cc3a91793bff06cc89d7de18cb5707b..c614b1dd7cbc7775a649a1ec931ff737211c309b 100644
--- a/src/gpu/GrTHashCache.h
+++ b/src/gpu/GrTHashCache.h
@@ -53,7 +53,7 @@ public:
*/
int slowFindIndex(T* elem) const { return fSorted.find(elem); }
-#if GR_DEBUG
+#ifdef SK_DEBUG
void validate() const;
bool contains(T*) const;
#endif
@@ -225,7 +225,7 @@ void GrTHashTable<T, Key, kHashBits>::unrefAll() {
Gr_bzero(fHash, sizeof(fHash));
}
-#if GR_DEBUG
+#ifdef SK_DEBUG
template <typename T, typename Key, size_t kHashBits>
void GrTHashTable<T, Key, kHashBits>::validate() const {
int count = fSorted.count();
« no previous file with comments | « src/gpu/GrResourceCache.cpp ('k') | src/gpu/GrTextStrike.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698