зеркало из https://github.com/mozilla/gecko-dev.git
Removed Release of mTopLevelWidget in the handling of the "inGoAway" event. Fixes bug 3900; part of fix for bug 3676. Wants to be part of M3 build. r:pierre,sdagley. a:chofmann,cyeh.
This commit is contained in:
Родитель
6811d49530
Коммит
e4dcb184d6
|
@ -391,12 +391,6 @@ PRBool nsMacEventHandler::HandleMouseDownEvent(
|
|||
case inGoAway:
|
||||
{
|
||||
mTopLevelWidget->Destroy();
|
||||
/* terrible hack alert: this Release matches the Addref that was done when the
|
||||
window widget was created by the nsWebShellWindow. It'd be a lot cleaner to
|
||||
ask the webshellwindow to release its window, but I feel even worse about
|
||||
getting to the nsWebShellWindow from the nsWindow, so here goes:
|
||||
*/
|
||||
NS_RELEASE(mTopLevelWidget);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче