| Index: webrtc/modules/video_processing/test/video_processing_unittest.cc
|
| diff --git a/webrtc/modules/video_processing/test/video_processing_unittest.cc b/webrtc/modules/video_processing/test/video_processing_unittest.cc
|
| index fc5bade9ac7110b2ba24f712ae33f0fae84e7b7c..b40b7c0ef76bf5648a891394a12979dfb3b96e32 100644
|
| --- a/webrtc/modules/video_processing/test/video_processing_unittest.cc
|
| +++ b/webrtc/modules/video_processing/test/video_processing_unittest.cc
|
| @@ -249,8 +249,7 @@ void TestSize(const VideoFrame& source_frame,
|
| WriteProcessedFrameForVisualInspection(source_frame, *out_frame);
|
|
|
| // Scale |resampled_source_frame| back to the source scale.
|
| - VideoFrame resampled_source_frame;
|
| - resampled_source_frame.ShallowCopy(*out_frame);
|
| + VideoFrame resampled_source_frame(*out_frame);
|
| // Compute PSNR against the cropped source frame and check expectation.
|
| PreprocessFrameAndVerify(resampled_source_frame,
|
| cropped_source.width(),
|
|
|