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

Unified Diff: src/gpu/GrContext.cpp

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 | « src/gpu/GrBlend.cpp ('k') | src/gpu/GrDrawState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrContext.cpp
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index b6555c47cac669cf254bda7a4bf75559f3c4b6c0..5145b2937313b17e60d118d3a4cee46858c971b6 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -1536,10 +1536,10 @@ bool GrContext::writeRenderTargetPixels(GrRenderTarget* target,
// handle the unpremul step on the CPU if we couldn't create an effect to do it.
if (NULL == effect) {
SkCanvas::Config8888 srcConfig8888, dstConfig8888;
- GR_DEBUGCODE(bool success = )
+ SkDEBUGCODE(bool success = )
grconfig_to_config8888(srcConfig, true, &srcConfig8888);
SkASSERT(success);
- GR_DEBUGCODE(success = )
+ SkDEBUGCODE(success = )
grconfig_to_config8888(srcConfig, false, &dstConfig8888);
SkASSERT(success);
const uint32_t* src = reinterpret_cast<const uint32_t*>(buffer);
« no previous file with comments | « src/gpu/GrBlend.cpp ('k') | src/gpu/GrDrawState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698