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

Issue 2886453004: Adding ThreadChecker validation to d'tors for client classes (Closed)

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

Description

Adding ThreadChecker validation to d'tors for client 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/2886453004 Cr-Commit-Position: refs/heads/master@{#471839} Committed: https://chromium.googlesource.com/chromium/src/+/4d4db58f0615aa162f870821f1bba6815a8b8dd3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -8 lines) Patch
M remoting/client/chromoting_client.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/client/client_telemetry_logger.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/display/fake_canvas.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/display/gl_cursor.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/display/gl_cursor_feedback.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/display/gl_desktop.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/display/gl_renderer.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/plugin/pepper_video_renderer_2d.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/software_video_renderer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/ios/display/gl_demo_screen.mm View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (8 generated)
joedow
PTAL!
3 years, 7 months ago (2017-05-15 16:55:58 UTC) #6
Yuwei
lgtm
3 years, 7 months ago (2017-05-15 18:23: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/2886453004/1
3 years, 7 months ago (2017-05-15 18:24:56 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 18:35:04 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/4d4db58f0615aa162f870821f1bb...

Powered by Google App Engine
This is Rietveld 408576698