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

Issue 2842423002: Fixing sigslot copy constructors. (Closed)

Created:
3 years, 7 months ago by Taylor Brandstetter
Modified:
3 years, 7 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixing sigslot copy constructors. They used to work, but were broken by a somewhat recent refactoring of sigslot.h. It's reasonable for signals and slots to have copy constructors, since a class that uses signals/slots may want to be copyable. BUG=webrtc:7342 Review-Url: https://codereview.webrtc.org/2842423002 Cr-Commit-Position: refs/heads/master@{#17942} Committed: https://chromium.googlesource.com/external/webrtc/+/8b1d862bfe6b8c160b0130e7d0b0444bcf668dd4

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixing comment #

Patch Set 3 : Fixing missing backreference from copied slot to signal. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -10 lines) Patch
M webrtc/base/sigslot.h View 1 2 2 chunks +13 lines, -8 lines 0 comments Download
M webrtc/base/sigslot_unittest.cc View 1 4 chunks +31 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Taylor Brandstetter
Peter, can you take a look? It's a pretty small change, just restoring previous code's ...
3 years, 7 months ago (2017-04-27 03:08:44 UTC) #2
pthatcher1
lgtm
3 years, 7 months ago (2017-04-29 00:13:42 UTC) #3
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/2842423002/20001
3 years, 7 months ago (2017-04-29 04:11:54 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: win_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_dbg/builds/18558)
3 years, 7 months ago (2017-04-29 04:22:24 UTC) #7
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/2842423002/40001
3 years, 7 months ago (2017-04-29 07:05:54 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/webrtc/+/8b1d862bfe6b8c160b0130e7d0b0444bcf668dd4
3 years, 7 months ago (2017-04-29 07:27:10 UTC) #13
perkj_webrtc
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.webrtc.org/2854053002/ by perkj@webrtc.org. ...
3 years, 7 months ago (2017-05-02 11:31:46 UTC) #14
perkj_webrtc
3 years, 7 months ago (2017-05-02 13:16:37 UTC) #15
Message was sent while issue was closed.
On 2017/05/02 11:31:46, perkj_webrtc wrote:
> A revert of this CL (patchset #3 id:40001) has been created in
> https://codereview.webrtc.org/2854053002/ by mailto:perkj@webrtc.org.
> 
> The reason for reverting is: This seems to cause a heap use after free issue
in
> Chrome:
> 
> XmppConnectionTest.ConnectThenError
> XmppConnectionTest.RaisedError
> XmppConnectionTest.FailureAfterPreAuth
> XmppConnectionTest.PreAuthFailure
> XmppConnectionTest.ImmediateFailure
> 
>
https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium....

Turns out that this is the offending cl:
https://codereview.webrtc.org/2846593005

Powered by Google App Engine
This is Rietveld 408576698