| Index: content/common/gpu/media/avda_codec_image.cc
|
| diff --git a/content/common/gpu/media/avda_codec_image.cc b/content/common/gpu/media/avda_codec_image.cc
|
| index 6009597416e67fd1464647b88e07995876d45457..5e87ed16455c6aab1f6444e7eb2a05ee73e5d8ae 100644
|
| --- a/content/common/gpu/media/avda_codec_image.cc
|
| +++ b/content/common/gpu/media/avda_codec_image.cc
|
| @@ -87,9 +87,8 @@ bool AVDACodecImage::CopyTexImage(unsigned target) {
|
|
|
| gpu::gles2::TextureManager* texture_manager =
|
| decoder_->GetContextGroup()->texture_manager();
|
| - gpu::gles2::Texture* texture =
|
| - texture_manager->GetTextureForServiceId(
|
| - shared_state_->surface_texture_service_id());
|
| + gpu::gles2::Texture* texture = texture_manager->GetTextureForServiceId(
|
| + shared_state_->surface_texture_service_id());
|
| if (texture) {
|
| // By setting image state to UNBOUND instead of COPIED we ensure that
|
| // CopyTexImage() is called each time the surface texture is used for
|
|
|