diff --git a/mozilla/widget/src/mac/nsAppShell.cpp b/mozilla/widget/src/mac/nsAppShell.cpp index bdda9bb7db4..0d1f1cd92ed 100644 --- a/mozilla/widget/src/mac/nsAppShell.cpp +++ b/mozilla/widget/src/mac/nsAppShell.cpp @@ -58,8 +58,7 @@ nsresult nsAppShell::Run() nsMacMessagePump *macpump; - mMessages = new nsMacMessenger(); - macpump = new nsMacMessagePump( mMessages ); + macpump = new nsMacMessagePump(mToolKit); macpump->DoMessagePump(); @@ -76,9 +75,6 @@ nsMacMessagePump *macpump; //------------------------------------------------------------------------- void nsAppShell::Exit() { - if(mMessages) - mMessages->Quit(); - } //------------------------------------------------------------------------- @@ -90,7 +86,6 @@ nsAppShell::nsAppShell() { mRefCnt = 0; mDispatchListener = 0; - mMessages = 0; } //------------------------------------------------------------------------- diff --git a/mozilla/widget/src/mac/nsAppShell.h b/mozilla/widget/src/mac/nsAppShell.h index c52f87a6e96..1a7d424df08 100644 --- a/mozilla/widget/src/mac/nsAppShell.h +++ b/mozilla/widget/src/mac/nsAppShell.h @@ -39,7 +39,6 @@ class nsAppShell : public nsIAppShell private: nsDispatchListener *mDispatchListener; nsToolkit *mToolKit; - nsMacMessenger *mMessages; // CLASS METHODS private: