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 Review URL: https://codereview.chromium.org/1637353002 Cr-Commit-Position: refs/heads/master@{#372046}
Showing
Please register or sign in to comment