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:
@ -110,7 +110,7 @@ bool Vp8UnitTestDecodeCompleteCallback::DecodeComplete() {
|
||||
}
|
||||
|
||||
int Vp8UnitTestDecodeCompleteCallback::Decoded(VideoFrame& image) {
|
||||
decoded_frame_->ShallowCopy(image);
|
||||
*decoded_frame_ = image;
|
||||
decode_complete = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user