DescriptionFix the crash bug of close button for the resolution change notification.
Close() is invoked in RemoveNotification() before removing the
notification (because the NotificationDelegate is owned by its notification).
Invoking AcceptResolutionChange() directly here causes the removing
notification twice, which will cause a crash.
BUG=271784
R=oshima@chromium.org
TEST=covered by the new test case
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217338
Patch Set 1 #Patch Set 2 : cleanup #
Total comments: 2
Patch Set 3 : fix #Patch Set 4 : fix the new test #
Messages
Total messages: 6 (0 generated)
|