Index: media/filters/vpx_video_decoder.cc |
diff --git a/media/filters/vpx_video_decoder.cc b/media/filters/vpx_video_decoder.cc |
index df314ec2c1e10dab43b8ff17a886b5f8ca71d620..ecef96cf1684e192a44b116deba543ae36fc5d91 100644 |
--- a/media/filters/vpx_video_decoder.cc |
+++ b/media/filters/vpx_video_decoder.cc |
@@ -204,11 +204,9 @@ void VpxVideoDecoder::MemoryPool::OnVideoFrameDestroyed( |
VpxVideoDecoder::VpxVideoDecoder( |
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) |
: task_runner_(task_runner), |
- weak_factory_(this), |
state_(kUninitialized), |
vpx_codec_(NULL), |
- vpx_codec_alpha_(NULL) { |
-} |
+ vpx_codec_alpha_(NULL) {} |
VpxVideoDecoder::~VpxVideoDecoder() { |
DCHECK_EQ(kUninitialized, state_); |
@@ -223,8 +221,6 @@ void VpxVideoDecoder::Initialize(const VideoDecoderConfig& config, |
DCHECK(decode_cb_.is_null()); |
DCHECK(reset_cb_.is_null()); |
- weak_this_ = weak_factory_.GetWeakPtr(); |
- |
if (!ConfigureDecoder(config)) { |
status_cb.Run(DECODER_ERROR_NOT_SUPPORTED); |
return; |