Index: webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc |
diff --git a/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc b/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc |
index 6a234d54de0d1e068d12684f38e0ad2e8162ec8c..0e7632ba1406e89f0214afed9633ed7c4d5a11e4 100644 |
--- a/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc |
+++ b/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc |
@@ -22,9 +22,9 @@ namespace webrtc { |
VideoDecoderSoftwareFallbackWrapper::VideoDecoderSoftwareFallbackWrapper( |
VideoCodecType codec_type, |
- VideoDecoder* decoder) |
+ std::unique_ptr<VideoDecoder> decoder) |
: codec_type_(codec_type), |
- decoder_(decoder), |
+ decoder_(std::move(decoder)), |
decoder_initialized_(false), |
callback_(nullptr) {} |