Chromium Code Reviews
DescriptionDismiss DevicePermissionsPrompt when the widgets are destroyed.
Destruction of the widget hierarchy (which happens if the application
window is closed) does not result in a call to either Accept or Cancel.
To catch this DevicePermissionsDialogView should be ready to dismiss
the prompt if the delegate is destroyed. Otherwise the extension
function call is never completed and the prompt object is leaked.
Committed: https://crrev.com/571132c474ef060b1f7db932eea3f552f6d8fcca
Cr-Commit-Position: refs/heads/master@{#325953}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed pkasting@'s nits. #
Messages
Total messages: 9 (3 generated)
|
||||||||||||||||||||||||||||