| Index: cc/output/program_binding.cc
|
| diff --git a/cc/output/program_binding.cc b/cc/output/program_binding.cc
|
| index c05447c7d65037c762a8bd590af50919be6e0910..7f6bf17e0649fbc35a8554780139fac5f5b61852 100644
|
| --- a/cc/output/program_binding.cc
|
| +++ b/cc/output/program_binding.cc
|
| @@ -88,7 +88,7 @@ unsigned ProgramBindingBase::LoadShader(GLES2Interface* context,
|
| shader_source_str,
|
| shader_length);
|
| context->CompileShader(shader);
|
| -#ifndef NDEBUG
|
| +#if DCHECK_IS_ON()
|
| int compiled = 0;
|
| context->GetShaderiv(shader, GL_COMPILE_STATUS, &compiled);
|
| if (!compiled)
|
|
|