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

Issue 2890833002: Adding ThreadChecker validation to d'tors for protocol classes (Closed)

Created:
3 years, 7 months ago by joedow
Modified:
3 years, 7 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, posciak+watch_chromium.org, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding ThreadChecker validation to d'tors for protocol classes There was an incorrect assumption about how ThreadChecker worked which lead to several classes not having the d'tor guarantees they expected. The assumption was that a ThreadChecker would DCHECK if it was not destroyed on the same thread it was bound to. This is not correct so I am adding DCHECKs to the d'tors of the remoting classes which were missed. BUG=715633 Review-Url: https://codereview.chromium.org/2890833002 Cr-Commit-Position: refs/heads/master@{#472507} Committed: https://chromium.googlesource.com/chromium/src/+/18837eb479d946f6fd741791b2de20311235672f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -4 lines) Patch
M remoting/protocol/audio_decode_scheduler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/capture_scheduler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/channel_socket_adapter.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/ice_connection_to_client.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/protocol/ice_transport_channel.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/jingle_session.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/monitored_video_stub.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/video_frame_pump.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/webrtc_audio_source_adapter.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/protocol/webrtc_connection_to_client.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/protocol/webrtc_frame_scheduler_simple.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/protocol/webrtc_transport.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/webrtc_video_stream.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
joedow
PTAL!
3 years, 7 months ago (2017-05-17 17:19:15 UTC) #6
Sergey Ulanov
LGTM. Thank you for these fixes!
3 years, 7 months ago (2017-05-17 17:43:09 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.chromium.org/2890833002/1
3 years, 7 months ago (2017-05-17 18:17:52 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 18:28:42 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/18837eb479d946f6fd741791b2de...

Powered by Google App Engine
This is Rietveld 408576698