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

Issue 1896953004: Roll chromium_revision 212f976fef..61ed337cfe (387882:388120) (Closed)

Created:
4 years, 8 months ago by kjellander_webrtc
Modified:
4 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Roll chromium_revision 212f976fef..61ed337cfe (387882:388120) https://codereview.chromium.org/1826693002 enables some more Clang warnings which were fixed. Change log: https://chromium.googlesource.com/chromium/src/+log/212f976fef..61ed337cfe Full diff: https://chromium.googlesource.com/chromium/src/+/212f976fef..61ed337cfe No dependencies changed. No update to Clang. TBR= NOTRY=True Committed: https://crrev.com/470dd37b41fd108b31f63841d308a58f5e2d5afd Cr-Commit-Position: refs/heads/master@{#12422}

Patch Set 1 #

Patch Set 2 : Fix Clang warnings #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M DEPS View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/pathutils.h View 1 1 chunk +1 line, -0 lines 1 comment Download
M webrtc/base/pathutils.cc View 1 3 chunks +5 lines, -3 lines 2 comments Download
M webrtc/modules/audio_coding/codecs/audio_encoder.h View 1 1 chunk +1 line, -0 lines 1 comment Download
M webrtc/modules/audio_coding/codecs/audio_encoder.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/desktop_region.h View 1 1 chunk +1 line, -0 lines 1 comment Download
M webrtc/modules/desktop_capture/desktop_region.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896953004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896953004/1
4 years, 8 months ago (2016-04-19 02:01:12 UTC) #2
commit-bot: I haz the power
Try jobs failed on following builders: mac_gn_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_gn_rel/builds/8651)
4 years, 8 months ago (2016-04-19 02:06:14 UTC) #4
kjellander_webrtc
kwiberg: review code changes henrika: root rubberstamp.
4 years, 8 months ago (2016-04-19 09:10:13 UTC) #6
henrika_webrtc
LGTM
4 years, 8 months ago (2016-04-19 09:11:13 UTC) #7
kwiberg-webrtc
lgtm, but please consider providing move constructors in addition to copy constructors for all three ...
4 years, 8 months ago (2016-04-19 09:21:02 UTC) #8
kjellander_webrtc
I tried with the move constructors but then I get errors like this: ../../webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc:221:16: error: ...
4 years, 8 months ago (2016-04-19 09:53:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896953004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896953004/20001
4 years, 8 months ago (2016-04-19 09:58:27 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-19 10:03:29 UTC) #16
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/470dd37b41fd108b31f63841d308a58f5e2d5afd Cr-Commit-Position: refs/heads/master@{#12422}
4 years, 8 months ago (2016-04-19 10:03:40 UTC) #18
kwiberg-webrtc
4 years, 8 months ago (2016-04-19 11:21:42 UTC) #19
Message was sent while issue was closed.
On 2016/04/19 09:53:53, kjellander (webrtc) wrote:
> I tried with the move constructors but then I get errors like this:
> ../../webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc:221:16:
> error: object of type 'webrtc::AudioEncoder::EncodedInfo' cannot be assigned
> because its copy assignment operator is implicitly deleted
>  encoded_info = encoder_stack_->Encode(
>               ^
> ../../webrtc/modules/audio_coding/codecs/audio_encoder.h:49:5: note: copy
> assignment operator is implicitly deleted because 'EncodedInfo' has a
> user-declared move constructor
>    EncodedInfo(EncodedInfo&&);
>    ^
> 
> So I'm sticking with the current version.

I found the problem: the error message says we need to manually define a copy
*assignment operator*, but we had constructors on our minds and didn't read it
carefully enough.

I've made a follow-up CL that adds move constructors and copy+move assignment
operators: https://codereview.webrtc.org/1899173002/

Powered by Google App Engine
This is Rietveld 408576698