Description[Mac] Tear down extension-installed bubble before main window closes.
The main window closed before the bubble, so when the bubble tried to
remove itself as a child window, it called a stale reference.
Additionally, revise a couple uses of this pattern to be more robust
by asking the window being closed to remove itself from its current
parent window (which would be nil in this case).
BUG=94172
TEST=see bug, monitor crash server.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99784
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add unit test. #
Total comments: 1
Patch Set 3 : Remove the leaked notification. #
Messages
Total messages: 12 (0 generated)
|