Delete ShallowCopy, in favor of copy construction and assignment.

BUG=webrtc:6591

Review-Url: https://codereview.webrtc.org/2443123002
Cr-Commit-Position: refs/heads/master@{#14853}
This commit is contained in:
nisse
2016-10-31 08:05:50 -07:00
committed by Commit bot
parent c846f2f4c0
commit 67dca9f12e
7 changed files with 11 additions and 21 deletions

View File

@ -110,7 +110,7 @@ bool Vp8UnitTestDecodeCompleteCallback::DecodeComplete() {
}
int Vp8UnitTestDecodeCompleteCallback::Decoded(VideoFrame& image) {
decoded_frame_->ShallowCopy(image);
*decoded_frame_ = image;
decode_complete = true;
return 0;
}