Index: content/common/gpu/media/dxva_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.cc b/content/common/gpu/media/dxva_video_decode_accelerator.cc |
index e4bf0774bd764d3576866075c9ad92d7376439d1..628bccd0f45ed8d26dc149e1728fa8ebcdf8cc26 100644 |
--- a/content/common/gpu/media/dxva_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc |
@@ -522,12 +522,12 @@ DXVAVideoDecodeAccelerator::DXVAVideoDecodeAccelerator( |
make_context_current_(make_context_current), |
codec_(media::kUnknownVideoCodec), |
decoder_thread_("DXVAVideoDecoderThread"), |
- weak_ptr_(weak_this_factory_.GetWeakPtr()), |
pending_flush_(false), |
use_dx11_(false), |
dx11_video_format_converter_media_type_needs_init_(true), |
gl_context_(gl_context), |
weak_this_factory_(this) { |
+ weak_ptr_ = weak_this_factory_.GetWeakPtr(); |
memset(&input_stream_info_, 0, sizeof(input_stream_info_)); |
memset(&output_stream_info_, 0, sizeof(output_stream_info_)); |
} |