Index: trunk/src/media/filters/vpx_video_decoder.cc |
=================================================================== |
--- trunk/src/media/filters/vpx_video_decoder.cc (revision 195011) |
+++ trunk/src/media/filters/vpx_video_decoder.cc (working copy) |
@@ -58,7 +58,6 @@ |
VpxVideoDecoder::VpxVideoDecoder( |
const scoped_refptr<base::MessageLoopProxy>& message_loop) |
: message_loop_(message_loop), |
- weak_factory_(this), |
state_(kUninitialized), |
vpx_codec_(NULL) { |
} |
@@ -74,7 +73,6 @@ |
const StatisticsCB& statistics_cb) { |
DCHECK(message_loop_->BelongsToCurrentThread()); |
DCHECK(!demuxer_stream_) << "Already initialized."; |
- weak_this_ = weak_factory_.GetWeakPtr(); |
if (!stream) { |
status_cb.Run(PIPELINE_ERROR_DECODE); |
@@ -184,7 +182,7 @@ |
DCHECK(!read_cb_.is_null()); |
demuxer_stream_->Read(base::Bind( |
- &VpxVideoDecoder::DoDecryptOrDecodeBuffer, weak_this_)); |
+ &VpxVideoDecoder::DoDecryptOrDecodeBuffer, this)); |
} |
void VpxVideoDecoder::DoDecryptOrDecodeBuffer( |