summaryrefslogtreecommitdiff
path: root/chromium/media/gpu/windows/d3d11_video_decoder_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/gpu/windows/d3d11_video_decoder_impl.h')
-rw-r--r--chromium/media/gpu/windows/d3d11_video_decoder_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/media/gpu/windows/d3d11_video_decoder_impl.h b/chromium/media/gpu/windows/d3d11_video_decoder_impl.h
index 55862eaf464..c6549268c2c 100644
--- a/chromium/media/gpu/windows/d3d11_video_decoder_impl.h
+++ b/chromium/media/gpu/windows/d3d11_video_decoder_impl.h
@@ -75,7 +75,7 @@ class MEDIA_GPU_EXPORT D3D11VideoDecoderImpl {
// Has thread affinity -- must be run on the gpu main thread.
THREAD_CHECKER(thread_checker_);
- base::WeakPtrFactory<D3D11VideoDecoderImpl> weak_factory_;
+ base::WeakPtrFactory<D3D11VideoDecoderImpl> weak_factory_{this};
DISALLOW_COPY_AND_ASSIGN(D3D11VideoDecoderImpl);
};