Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Issue 1574963002: Deleted renderer-related SetSize methods, and all uses. (Closed)

Created:
4 years, 11 months ago by nisse-webrtc
Modified:
4 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, guoweis_webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Deleted renderer-related SetSize methods, and all uses. webrtc::VideoRendererInterface::SetSize was completely unused. cricket::VideoRenderer::SetSize only had dummy implementations returning true and doing nothing. BUG=webrtc:5426 Committed: https://crrev.com/c4c84856628c70fada1ada6c4112f5497d993aa6 Cr-Commit-Position: refs/heads/master@{#11298}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Delete also FakeVideoRenderer::SetSize, and update unit tests. #

Patch Set 3 : Deleted WebRtcVideoChannel2::WebRtcVideoReceiveStream::SetSize. #

Patch Set 4 : Added static cast when converting width and height from size_t to int. #

Total comments: 4

Patch Set 5 : Addressed Peter's comments. #

Patch Set 6 : Rebase. #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -113 lines) Patch
M talk/app/webrtc/java/jni/peerconnection_jni.cc View 1 2 3 4 5 6 1 chunk +2 lines, -11 lines 0 comments Download
M talk/app/webrtc/test/fakevideotrackrenderer.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M talk/app/webrtc/videosource_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M talk/media/base/capturerenderadapter.cc View 1 chunk +2 lines, -8 lines 0 comments Download
M talk/media/base/fakevideorenderer.h View 1 2 3 3 chunks +4 lines, -25 lines 0 comments Download
M talk/media/base/videocapturer_unittest.cc View 1 2 3 4 4 chunks +13 lines, -11 lines 0 comments Download
M talk/media/base/videoengine_unittest.h View 1 2 3 4 1 chunk +0 lines, -22 lines 0 comments Download
M talk/media/base/videorenderer.h View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M talk/media/webrtc/webrtcvideoengine2.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M talk/media/webrtc/webrtcvideoengine2.cc View 1 2 3 chunks +2 lines, -16 lines 0 comments Download
M talk/media/webrtc/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 49 (19 generated)
nisse-webrtc
https://codereview.webrtc.org/1574963002/diff/1/talk/media/base/videorenderer.h File talk/media/base/videorenderer.h (left): https://codereview.webrtc.org/1574963002/diff/1/talk/media/base/videorenderer.h#oldcode42 talk/media/base/videorenderer.h:42: class VideoRenderer { Except for the RenderFrame return value, ...
4 years, 11 months ago (2016-01-11 08:30:52 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574963002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574963002/1
4 years, 11 months ago (2016-01-11 09:54:38 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/8357)
4 years, 11 months ago (2016-01-11 09:58:09 UTC) #8
tommi
lgtm assuming the build errors are a minor glitch https://codereview.webrtc.org/1574963002/diff/1/talk/media/base/videorenderer.h File talk/media/base/videorenderer.h (left): https://codereview.webrtc.org/1574963002/diff/1/talk/media/base/videorenderer.h#oldcode42 talk/media/base/videorenderer.h:42: ...
4 years, 11 months ago (2016-01-11 10:17:43 UTC) #9
pbos-webrtc
https://codereview.webrtc.org/1574963002/diff/1/talk/media/webrtc/webrtcvideoengine2.cc File talk/media/webrtc/webrtcvideoengine2.cc (right): https://codereview.webrtc.org/1574963002/diff/1/talk/media/webrtc/webrtcvideoengine2.cc#newcode2494 talk/media/webrtc/webrtcvideoengine2.cc:2494: void WebRtcVideoChannel2::WebRtcVideoReceiveStream::SetSize(int width, I think you should be able ...
4 years, 11 months ago (2016-01-11 10:25:01 UTC) #10
nisse-webrtc
I had to update unit tests using SetSize. And I've now deleted FakeVideoRenderer::SetSize, and, by ...
4 years, 11 months ago (2016-01-11 12:26:06 UTC) #11
magjed_webrtc
lgtm
4 years, 11 months ago (2016-01-11 12:26:46 UTC) #12
pbos-webrtc
lgtm
4 years, 11 months ago (2016-01-11 12:31:21 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574963002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574963002/40001
4 years, 11 months ago (2016-01-11 12:36:20 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_x64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/11753)
4 years, 11 months ago (2016-01-11 12:55:46 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574963002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574963002/60001
4 years, 11 months ago (2016-01-11 13:15:28 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-11 14:55:56 UTC) #21
pthatcher1
Be careful about not breaking the Chrome FYI bots. I noticed that Chrome overrides/implements SetSize ...
4 years, 11 months ago (2016-01-11 18:42:08 UTC) #22
nisse-webrtc
On 2016/01/11 18:42:08, pthatcher1 wrote: > Be careful about not breaking the Chrome FYI bots. ...
4 years, 11 months ago (2016-01-12 08:00:11 UTC) #23
nisse-webrtc
https://codereview.webrtc.org/1574963002/diff/60001/talk/media/base/videocapturer_unittest.cc File talk/media/base/videocapturer_unittest.cc (right): https://codereview.webrtc.org/1574963002/diff/60001/talk/media/base/videocapturer_unittest.cc#newcode337 talk/media/base/videocapturer_unittest.cc:337: // factor of 2. On 2016/01/11 18:42:08, pthatcher1 wrote: ...
4 years, 11 months ago (2016-01-12 08:03:47 UTC) #24
nisse-webrtc
On 2016/01/12 08:00:11, nisse-webrtc wrote: > How do you suggest dealing with that? One way ...
4 years, 11 months ago (2016-01-12 09:34:22 UTC) #25
pbos-webrtc
On 2016/01/12 09:34:22, nisse-webrtc wrote: > On 2016/01/12 08:00:11, nisse-webrtc wrote: > > How do ...
4 years, 11 months ago (2016-01-12 09:59:57 UTC) #26
pbos-webrtc
On 2016/01/12 09:59:57, pbos-webrtc wrote: > On 2016/01/12 09:34:22, nisse-webrtc wrote: > > On 2016/01/12 ...
4 years, 11 months ago (2016-01-12 10:00:12 UTC) #27
perkj_webrtc
On 2016/01/12 10:00:12, pbos-webrtc wrote: > On 2016/01/12 09:59:57, pbos-webrtc wrote: > > On 2016/01/12 ...
4 years, 11 months ago (2016-01-12 10:52:56 UTC) #28
tommi
On 2016/01/12 10:00:12, pbos-webrtc wrote: > On 2016/01/12 09:59:57, pbos-webrtc wrote: > > On 2016/01/12 ...
4 years, 11 months ago (2016-01-12 11:24:10 UTC) #30
nisse-webrtc
On 2016/01/11 18:42:08, pthatcher1 wrote: > Be careful about not breaking the Chrome FYI bots. ...
4 years, 11 months ago (2016-01-13 08:44:24 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574963002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574963002/90001
4 years, 11 months ago (2016-01-13 08:44:59 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-13 09:47:48 UTC) #35
nisse-webrtc
On 2016/01/13 08:44:24, nisse-webrtc wrote: > On 2016/01/11 18:42:08, pthatcher1 wrote: > > Be careful ...
4 years, 11 months ago (2016-01-18 14:38:47 UTC) #36
pthatcher1
lgtm
4 years, 11 months ago (2016-01-19 01:07:40 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574963002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574963002/90001
4 years, 11 months ago (2016-01-19 07:24:33 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/4578) mac_asan on tryserver.webrtc (JOB_FAILED, ...
4 years, 11 months ago (2016-01-19 07:25:35 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574963002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574963002/110001
4 years, 11 months ago (2016-01-19 07:48:33 UTC) #45
commit-bot: I haz the power
Committed patchset #7 (id:110001)
4 years, 11 months ago (2016-01-19 08:52:51 UTC) #47
commit-bot: I haz the power
4 years, 11 months ago (2016-01-19 08:52:59 UTC) #49
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/c4c84856628c70fada1ada6c4112f5497d993aa6
Cr-Commit-Position: refs/heads/master@{#11298}

Powered by Google App Engine
This is Rietveld 408576698