| 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 74abce022062a0e6a5d22c7e71e7e0d028c44717..dfa07e738ff1897e34351b6d020a16ddbdeaf5fa 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -14640,6 +14640,11 @@ void GLES2DecoderImpl::DoCompressedCopyTextureCHROMIUM(GLuint source_id,
|
| return;
|
| }
|
|
|
| + if (!ValidateCompressedCopyTextureCHROMIUM(kFunctionName, source_texture_ref,
|
| + dest_texture_ref)) {
|
| + return;
|
| + }
|
| +
|
| Texture* source_texture = source_texture_ref->texture();
|
| Texture* dest_texture = dest_texture_ref->texture();
|
| int source_width = 0;
|
| @@ -14681,11 +14686,6 @@ void GLES2DecoderImpl::DoCompressedCopyTextureCHROMIUM(GLuint source_id,
|
| return;
|
| }
|
|
|
| - if (!ValidateCompressedCopyTextureCHROMIUM(kFunctionName, source_texture_ref,
|
| - dest_texture_ref)) {
|
| - return;
|
| - }
|
| -
|
| if (!InitializeCopyTextureCHROMIUM(kFunctionName))
|
| return;
|
|
|
|
|