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

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: common.gypi 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
Index: src/gpu/GrTHashCache.h
diff --git a/src/gpu/GrTHashCache.h b/src/gpu/GrTHashCache.h
index 01b08e7a0cc3a91793bff06cc89d7de18cb5707b..ead774dd321ea2fc887fefef9b25be988f1e3a3f 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
+#if 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
+#if SK_DEBUG
template <typename T, typename Key, size_t kHashBits>
void GrTHashTable<T, Key, kHashBits>::validate() const {
int count = fSorted.count();

Powered by Google App Engine
This is Rietveld 408576698