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

Issue 1637353002: Speculative fix for ui::DisplayLinkMac::StopDisplayLink crashes #take2. (Closed)

Created:
4 years, 11 months ago by tapted
Modified:
4 years, 10 months ago
Reviewers:
ccameron
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Speculative fix for ui::DisplayLinkMac::StopDisplayLink crashes #take2. The CVDisplayLink is tied to a ScopedTypeRef data member of DisplayLinkMac. However, there may be other references. Since there's no guarantee that ~DisplayLinkMac() will invoke the last CVDisplayLinkRelease(..) and clear the callback automatically, clear it explicitly in ~DisplayLinkMac. BUG=564780 Committed: https://crrev.com/119ecfdddd45db9e5e74d0d6a6eb4d9423cec8f2 Cr-Commit-Position: refs/heads/master@{#372046}

Patch Set 1 : baseline from crrev.com/1626163002 #

Patch Set 2 : Send it to the void #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M ui/accelerated_widget_mac/display_link_mac.cc View 1 2 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
tapted
Hi Chris - please take a look. (my dev machine was wedged in a state ...
4 years, 10 months ago (2016-01-28 07:11:21 UTC) #4
ccameron
lgtm
4 years, 10 months ago (2016-01-28 07:23:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1637353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1637353002/40001
4 years, 10 months ago (2016-01-28 07:25:24 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 10 months ago (2016-01-28 08:01:10 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 08:02:57 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/119ecfdddd45db9e5e74d0d6a6eb4d9423cec8f2
Cr-Commit-Position: refs/heads/master@{#372046}

Powered by Google App Engine
This is Rietveld 408576698