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 9431e717db5cac4b0734beb40e962ef0733279a0..e4bf0774bd764d3576866075c9ad92d7376439d1 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_this_factory_(this), |
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) { |
+ gl_context_(gl_context), |
+ weak_this_factory_(this) { |
memset(&input_stream_info_, 0, sizeof(input_stream_info_)); |
memset(&output_stream_info_, 0, sizeof(output_stream_info_)); |
} |