Index: content/common/gpu/client/gl_helper_scaling.cc |
diff --git a/content/common/gpu/client/gl_helper_scaling.cc b/content/common/gpu/client/gl_helper_scaling.cc |
index 7b7338dc07e1ec5db68e7b31ec664a6588f47c57..49cab4920765c97a4ab7bc76969109041c4ba030 100644 |
--- a/content/common/gpu/client/gl_helper_scaling.cc |
+++ b/content/common/gpu/client/gl_helper_scaling.cc |
@@ -870,8 +870,7 @@ void ShaderProgram::Setup(const GLchar* vertex_shader_text, |
// The only reason fetching these attribute locations should fail is |
// if the context was spontaneously lost (i.e., because the GPU |
// process crashed, perhaps deliberately for testing). |
- DCHECK_IMPLIES(!Initialized(), |
- gl_->GetGraphicsResetStatusKHR() != GL_NO_ERROR); |
+ DCHECK(Initialized() || gl_->GetGraphicsResetStatusKHR() != GL_NO_ERROR); |
} |
void ShaderProgram::UseProgram(const gfx::Size& src_size, |