| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| index ec5b2abd19fde36ab46ebf8054cd5a048e70db81..5a25b0014d1def824df313c4eaea8c65fc690207 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -10090,11 +10090,15 @@ void GLES2DecoderImpl::DoBindTexImage2DCHROMIUM(
|
| return;
|
| }
|
|
|
| - if (!gl_image->BindTexImage()) {
|
| - LOCAL_SET_GL_ERROR(
|
| - GL_INVALID_OPERATION,
|
| - "glBindTexImage2DCHROMIUM", "fail to bind image with the given ID");
|
| - return;
|
| + {
|
| + ScopedGLErrorSuppressor suppressor(
|
| + "GLES2DecoderImpl::DoBindTexImage2DCHROMIUM", decoder_);
|
| + if (!gl_image->BindTexImage()) {
|
| + LOCAL_SET_GL_ERROR(
|
| + GL_INVALID_OPERATION,
|
| + "glBindTexImage2DCHROMIUM", "fail to bind image with the given ID");
|
| + return;
|
| + }
|
| }
|
|
|
| gfx::Size size = gl_image->GetSize();
|
|
|