| Index: gpu/command_buffer/client/gles2_implementation.cc
 | 
| diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
 | 
| index 4f5d42793f1133603864c80afd7e6a6c17ee869a..cfe2701e3caf55e78c590a74ba3c7952a91a7d7f 100644
 | 
| --- a/gpu/command_buffer/client/gles2_implementation.cc
 | 
| +++ b/gpu/command_buffer/client/gles2_implementation.cc
 | 
| @@ -2334,7 +2334,7 @@ void GLES2Implementation::DeleteTexturesHelper(
 | 
|    }
 | 
|    for (GLsizei ii = 0; ii < n; ++ii) {
 | 
|      for (GLint tt = 0; tt < gl_state_.max_combined_texture_image_units; ++tt) {
 | 
| -      TextureUnit& unit = texture_units_[active_texture_unit_];
 | 
| +      TextureUnit& unit = texture_units_[tt];
 | 
|        if (textures[ii] == unit.bound_texture_2d) {
 | 
|          unit.bound_texture_2d = 0;
 | 
|        }
 | 
| 
 |