Restore variable to release builds.

git-svn-id: http://skia.googlecode.com/svn/trunk@7572 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
jvanverth@google.com 2013-02-05 14:15:31 +00:00
parent cf9faf6ce9
commit d4ce480d2b

View File

@ -1432,7 +1432,7 @@ bool GrContext::readRenderTargetPixels(GrRenderTarget* target,
SkCanvas::Config8888 srcC8888 = SkCanvas::kNative_Premul_Config8888;
SkCanvas::Config8888 dstC8888 = SkCanvas::kNative_Premul_Config8888;
SkDEBUGCODE(bool c8888IsValid =) grconfig_to_config8888(config, false, &srcC8888);
bool c8888IsValid = grconfig_to_config8888(config, false, &srcC8888);
grconfig_to_config8888(config, unpremul, &dstC8888);
if (swapRAndB) {