Index: content/common/gpu/media/gpu_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
index 3a0071f4245e9a3af187c686b29ddb971e25f4ff..0de11bef3e5fcc7be44598ed03afdbebbee0b435 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -341,10 +341,8 @@ |
gpu::gles2::TextureManager* texture_manager = |
command_decoder->GetContextGroup()->texture_manager(); |
gpu::gles2::TextureRef* ref = texture_manager->GetTexture(client_texture_id); |
- if (ref) { |
- texture_manager->SetLevelImage(ref, texture_target, 0, image.get(), |
- gpu::gles2::Texture::BOUND); |
- } |
+ if (ref) |
+ texture_manager->SetLevelImage(ref, texture_target, 0, image.get()); |
} |
scoped_ptr<media::VideoDecodeAccelerator> |