| 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 49cab4920765c97a4ab7bc76969109041c4ba030..7b7338dc07e1ec5db68e7b31ec664a6588f47c57 100644
|
| --- a/content/common/gpu/client/gl_helper_scaling.cc
|
| +++ b/content/common/gpu/client/gl_helper_scaling.cc
|
| @@ -870,7 +870,8 @@
|
| // 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(Initialized() || gl_->GetGraphicsResetStatusKHR() != GL_NO_ERROR);
|
| + DCHECK_IMPLIES(!Initialized(),
|
| + gl_->GetGraphicsResetStatusKHR() != GL_NO_ERROR);
|
| }
|
|
|
| void ShaderProgram::UseProgram(const gfx::Size& src_size,
|
|
|