DescriptionSpeculative 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 #Messages
Total messages: 11 (6 generated)
|