Index: content/common/gpu/media/gpu_video_encode_accelerator.cc |
diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.cc b/content/common/gpu/media/gpu_video_encode_accelerator.cc |
index 3a6deec2ecd5617fbce34f08fc112ebd88809917..c29a015792a2fbb23e059d89602335b119628dd4 100644 |
--- a/content/common/gpu/media/gpu_video_encode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.cc |
@@ -150,9 +150,6 @@ void GpuVideoEncodeAccelerator::OnWillDestroyStub() { |
stub_->channel()->RemoveRoute(host_route_id_); |
stub_->RemoveDestructionObserver(this); |
- if (encoder_) |
- encoder_.release()->Destroy(); |
- |
delete this; |
} |