Chromium Code Reviews

Issue 2443123002: Delete ShallowCopy, in favor of copy construction and assignment. (Closed)

Created:
4 years, 1 month ago by nisse-webrtc
Modified:
4 years, 1 month ago
Reviewers:
magjed_webrtc, tommi, stefan-webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun, mflodman, kwiberg-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Delete ShallowCopy, in favor of copy construction and assignment. BUG=webrtc:6591 Committed: https://crrev.com/67dca9f12ef9e43739950c003aea882ec67cac2b Cr-Commit-Position: refs/heads/master@{#14853}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Renamed method argument. #

Total comments: 7

Patch Set 3 : Delete the ShallowCopy method. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Stats (+11 lines, -21 lines)
M webrtc/common_video/video_frame.cc View 1 chunk +0 lines, -8 lines 0 comments
M webrtc/media/engine/fakewebrtccall.cc View 1 chunk +1 line, -1 line 0 comments
M webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments
M webrtc/modules/video_processing/test/video_processing_unittest.cc View 1 chunk +1 line, -2 lines 0 comments
M webrtc/video/video_quality_test.cc View 1 chunk +2 lines, -2 lines 0 comments
M webrtc/video/vie_encoder.cc View 1 chunk +1 line, -1 line 0 comments
M webrtc/video_frame.h View 1 chunk +5 lines, -6 lines 0 comments

Messages

Total messages: 21 (10 generated)
nisse-webrtc
Hi, in particular, do the declarations of the default move and copy operations look right?
4 years, 1 month ago (2016-10-24 09:51:24 UTC) #2
tommi
lgtm % one request https://codereview.chromium.org/2443123002/diff/1/webrtc/common_video/video_frame.cc File webrtc/common_video/video_frame.cc (right): https://codereview.chromium.org/2443123002/diff/1/webrtc/common_video/video_frame.cc#newcode96 webrtc/common_video/video_frame.cc:96: void VideoFrame::ShallowCopy(const VideoFrame& videoFrame) { ...
4 years, 1 month ago (2016-10-24 10:52:17 UTC) #3
nisse-chromium (ooo August 14)
https://codereview.chromium.org/2443123002/diff/1/webrtc/common_video/video_frame.cc File webrtc/common_video/video_frame.cc (right): https://codereview.chromium.org/2443123002/diff/1/webrtc/common_video/video_frame.cc#newcode96 webrtc/common_video/video_frame.cc:96: void VideoFrame::ShallowCopy(const VideoFrame& videoFrame) { On 2016/10/24 10:52:17, tommi ...
4 years, 1 month ago (2016-10-24 11:01:20 UTC) #5
magjed_webrtc
https://codereview.webrtc.org/2443123002/diff/20001/webrtc/modules/video_processing/test/video_processing_unittest.cc File webrtc/modules/video_processing/test/video_processing_unittest.cc (right): https://codereview.webrtc.org/2443123002/diff/20001/webrtc/modules/video_processing/test/video_processing_unittest.cc#newcode197 webrtc/modules/video_processing/test/video_processing_unittest.cc:197: out_frame = vpm->PreprocessFrame(source); We are completely ignoring the input ...
4 years, 1 month ago (2016-10-25 07:32:11 UTC) #6
nisse-webrtc
+mflodman. magjed noticed that the handling of the out_frame argument of PreprocessFrameAndVerify appear broken. It ...
4 years, 1 month ago (2016-10-25 08:01:34 UTC) #8
magjed_webrtc
lgtm if you fix PreprocessFrameAndVerify in https://codereview.webrtc.org/2448053003/. https://codereview.webrtc.org/2443123002/diff/20001/webrtc/video_frame.h File webrtc/video_frame.h (right): https://codereview.webrtc.org/2443123002/diff/20001/webrtc/video_frame.h#newcode82 webrtc/video_frame.h:82: // Delete ...
4 years, 1 month ago (2016-10-25 10:05:00 UTC) #9
stefan-webrtc
lgtm
4 years, 1 month ago (2016-10-31 14:00:27 UTC) #13
nisse-webrtc
On 2016/10/31 14:00:27, stefan-webrtc (holmer) wrote: > lgtm Thanks for the review. I'm landing the ...
4 years, 1 month ago (2016-10-31 14:02:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2443123002/60001
4 years, 1 month ago (2016-10-31 14:38:55 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-31 15:05:53 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 15:06:07 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/67dca9f12ef9e43739950c003aea882ec67cac2b
Cr-Commit-Position: refs/heads/master@{#14853}

Powered by Google App Engine