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 c1cd5538e122f664a085be5d3ff34ea3842c7fae..025d971074f1724d700f965fe4bd914ea5a02a76 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -496,7 +496,7 @@ void GpuVideoDecodeAccelerator::SetTextureCleared( |
gpu::gles2::TextureManager* texture_manager = |
stub_->decoder()->GetContextGroup()->texture_manager(); |
DCHECK(!texture_ref->texture()->IsLevelCleared(target, 0)); |
- texture_manager->SetLevelCleared(texture_ref, target, 0, true); |
+ texture_manager->SetLevelCleared(texture_ref.get(), target, 0, true); |
uncleared_textures_.erase(it); |
} |