| Index: content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| diff --git a/content/common/gpu/media/dxva_video_decode_accelerator_win.h b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| index 660797c2e64090f38c1fcc6f4bbbc9884958caaf..9dba785eb044350d4c8c701cc8695ac0ddaa38a7 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.h
|
| @@ -441,12 +441,6 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
|
| // Enables experimental hardware acceleration for VP8/VP9 video decoding.
|
| const bool enable_accelerated_vpx_decode_;
|
|
|
| - // WeakPtrFactory for posting tasks back to |this|.
|
| - base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_;
|
| -
|
| - // Function pointer for the MFCreateDXGIDeviceManager API.
|
| - static CreateDXGIDeviceManager create_dxgi_device_manager_;
|
| -
|
| // The media foundation H.264 decoder has problems handling changes like
|
| // resolution change, bitrate change etc. If we reinitialize the decoder
|
| // when these changes occur then, the decoder works fine. The
|
| @@ -457,6 +451,12 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
|
| // Contains the initialization parameters for the video.
|
| Config config_;
|
|
|
| + // WeakPtrFactory for posting tasks back to |this|.
|
| + base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_;
|
| +
|
| + // Function pointer for the MFCreateDXGIDeviceManager API.
|
| + static CreateDXGIDeviceManager create_dxgi_device_manager_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator);
|
| };
|
|
|
|
|