Index: webrtc/video/video_quality_test.cc |
diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc |
index 9adcc162062701fed9263fb06d368aa6f289b69c..1102bcb48dffe109c5e18b618ef2582c6a540b13 100644 |
--- a/webrtc/video/video_quality_test.cc |
+++ b/webrtc/video/video_quality_test.cc |
@@ -482,8 +482,8 @@ class VideoAnalyzer : public PacketReceiver, |
rtc::CritScope crit(&comparison_lock_); |
if (comparisons_.size() < kMaxComparisons) { |
- reference_copy.CopyFrame(reference); |
- render_copy.CopyFrame(render); |
+ reference_copy.ShallowCopy(reference); |
+ render_copy.ShallowCopy(render); |
} else { |
// Copy the time to ensure that delay calculations can still be made. |
reference_copy.set_ntp_time_ms(reference.ntp_time_ms()); |