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

Unified Diff: src/gpu/GrBinHashKey.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/GrAtlas.cpp ('k') | src/gpu/GrBufferAllocPool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrBinHashKey.h
diff --git a/src/gpu/GrBinHashKey.h b/src/gpu/GrBinHashKey.h
index 5bbea072afa0e5d48ef3f95a8138125f82ad247e..7d4aa0fbe8de9af48289a3b32c2cc9574bfafdb0 100644
--- a/src/gpu/GrBinHashKey.h
+++ b/src/gpu/GrBinHashKey.h
@@ -46,7 +46,7 @@ public:
void reset() {
fHash = 0;
-#if GR_DEBUG
+#ifdef SK_DEBUG
fIsValid = false;
#endif
}
@@ -66,7 +66,7 @@ public:
hash += (fHash << 3);
hash ^= (fHash >> 11);
hash += (fHash << 15);
-#if GR_DEBUG
+#ifdef SK_DEBUG
fIsValid = true;
#endif
fHash = hash;
@@ -101,7 +101,7 @@ private:
uint32_t fHash;
uint8_t fData[KEY_SIZE]; // Buffer for key storage
-#if GR_DEBUG
+#ifdef SK_DEBUG
public:
bool fIsValid;
#endif
« no previous file with comments | « src/gpu/GrAtlas.cpp ('k') | src/gpu/GrBufferAllocPool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698