DescriptionIt turns out the Cleanup() method in JsModalDialog is not
needed. The check in it was reversed, causing it to never
do anything, except in the case where the delegate had been
deleted, in which case it would crash.
The thing it was trying to do is already being done elsewhere
in the case of OnAccept() and OnCancel(). That just leaves
OnClose().
There are other things in here that really need cleanup, but
I will do those separately.
BUG=63732
TEST=See bug
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68447
Patch Set 1 #
Total comments: 1
Patch Set 2 : respond to comments #Patch Set 3 : whoops #
Total comments: 1
Messages
Total messages: 4 (0 generated)
|